#Routing setup

7 messages · Page 1 of 1 (latest)

neat stone
#

use company as a route, not /company.

#

About the same for other routes though, like home.

light fossil
#

Same issue, but i got this message error

#

i tried to add AppComponent in import : [] but still same

neat stone
#

given your AppModule import in main.ts file says AppModule class is in a file named app.config, it means you created a standalone application by default but changed everything for modules.

#

You should stick with standalone API.