#Routing setup
7 messages · Page 1 of 1 (latest)
Same issue, but i got this message error
i tried to add AppComponent in import : [] but still same
Components are now created as standalone. The goal is to get rid of of ngModules and not using module files anymore.
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.