Couldn't find a route declaration in /src/app/app.module.ts
See original GitHub issueSince ng g @scullyio/init:blog
requires a route declaration, should the Blog Doc contain an “observation” so the user has the AppRoutingModule import? Or is it not required and I’m missing something?
Have a great day and Team Scully all the way!
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Angular : Couldn't find a route declaration in /src/app/app ...
Run this command ng generate module app-routing --flat ... app-routing.module.ts file then add the code const routes: Routes = []; like this
Read more >Couldn't find a route declaration in src/app/app ... - GitHub
fix steps: add a routes declaration : image. then you can run. ng g @scullyio/init:blog. or. ng generate @scullyio/init:markdown ...
Read more >src/app/app.module.ts (hero detail) { path
couldn t find a route declaration in src /app/app module ts ... Errors like these error TS2307: Cannot find module sometimes occur when...
Read more >Angular Router Tutorial: Setting Up Routing in Your Application
In this post I will demonstrate how to setup basic routing in an Angular application using Angular Router Modules.
Read more >How to create module with Routing in Angular 9
We will discuss with step-by-step instructions how to create a routing module in an Angular 9 application with a very simple example so...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
thanks @IxquitilisSaid, I think start to use it and check if you found bugs is the best option now for help us!
Makes sense since the scully.config needs the Routes object, but yeah, just a small bit of documentation missing 😜.
Also please let me know if I can help out with anything else, I’m really excited about this project and what’s to come!