jnwltr/swagger-angular-generator

demo error: 'router-outlet' is not a known element:

jayvdb opened this issue · 1 comments

Steps to reproduce:

  1. cd demo-app/client
  2. npm install
  3. npm run start
  4. open http://localhost:4200/
  5. page is blank; js console shows:
Error: Template parse errors:
'router-outlet' is not a known element:
1. If 'router-outlet' is an Angular component, then verify that it is part of this module.
2. If 'router-outlet' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. ("[ERROR ->]<router-outlet></router-outlet>
"): ng:///AppModule/AppComponent.html@0:0

Normally a src/app/app-routing.module.ts is needed, or the routes included in app.module, but I dont see them in the demo.