Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 1.31 KB

README.md

File metadata and controls

24 lines (15 loc) · 1.31 KB

Routes From Library

Codacy Badge

alt alt alt

This project show a example how use routes from a external library. In this case we created the login library manually. You can create your own library and publish on npm. Example: npm publish ./dist/login.tgz (create de .tgz for the build folder).

Development server

  • Run ng serve for a dev server. Navigate to http://localhost:4200/.
  • To test the route of the login library navigate for: http://localhost:4200/login.

The LoginRoutingModule is imported in AppRoutingModule!

Build

  • Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.
  • Run ng build login to build de library login.

This project was generated with Angular CLI version 7.3.8.