/angular_modules_lazy_router_outlet

Quick'n'Dirty example for lazy loaded feature modules with routing and router-outlets

Primary LanguageTypeScript

Modit

Example for using lazy loaded Modules with Angular 6 and multiple Router-Outlets in main as in loaded Modules. Simply not using an empty route in lazy loaded Modules seems to work as a workaround.

If anybody has a better solution pleasse leave a note.

This project was generated with Angular CLI version 6.0.7.

Development server

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

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.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.