menu
techminis

A naukri.com initiative

google-web-stories
Home

>

Programming News

>

Angular Mo...
source image

Medium

4w

read

257

img
dot

Image Credit: Medium

Angular Monorepo Library and Use It Locally

  • The article discusses the setup for arranging a workspace for developing libraries in an Angular monorepo.
  • Instead of using 'npm link', the approach involves adding the library as a dependency in package.json with 'npm install'.
  • The workspace will contain both the library and project, with the library requiring an entry point and components, services, etc., exported in public-api.ts.
  • By building the library locally with '--watch', developers can see changes reflect in the application automatically, aiding in real-time testing before publishing the library.

Read Full Article

like

15 Likes

For uninterrupted reading, download the app