Skip to content

Just an example how to use source from node_modules as lazy loaded module.

License

Notifications You must be signed in to change notification settings

banzayche/AngularNpmLazyModule

Repository files navigation

LazyLoadedModuleThruNpm

This project was generated with Angular CLI version 7.3.1.

Status

Build Status

How to see the demo

  1. Clone repo and install dependencies
  2. Run npm i;
  3. Install local package of the lazy-module-lib npm i ./projects/lazy-module-lib/lazy-module-lib-0.0.1.tgz;
  4. Run npm run start and navigate to http://localhost:4200/;

How can I check that PROD bundles are work

Run npm run serve.prod.files and navigate to http://127.0.0.1:8080

Development server

Run npm run start for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Build

Run npm run build to build the project. The build artifacts will be stored in the dist/ directory. Use the npm run build.prod flag for a production build.

About

Just an example how to use source from node_modules as lazy loaded module.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published