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.
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.
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.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.