-
-
Notifications
You must be signed in to change notification settings - Fork 279
Closed
Labels
Description
Which scope/s are relevant/related to the feature request?
router
Information
I pulled my hair out trying to figure out why my routing does not work. Turns out the component needs to be a default
export.
There are two improvements that could be made here:
- Make that requirement more visible in the documentation, right now it's not immediately visible when skimming the docs. I would make it a bigger "alert" with maybe a yellow background.
- Add a check and error message before resolving the routes, instead of propagating the default Angular error that a
component
needs to be provided in theRoute
definition.
Describe any alternatives/workarounds you're currently using
No response
I would be willing to submit a PR to fix this issue
- Yes, if pointed in the right direction
- No