-
Notifications
You must be signed in to change notification settings - Fork 12k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding a route fails #631
Comments
FYI, this is still not working for me. I am running from master and did the npm-link thingy as described in README.md, but still the same issue. |
@Brocco, as far as I can tell, the commit above does not address this issue. The rc.1 router requires routes to be like this:
The cli is generating this:
|
@nareshbhatia right now it appears that the router does not support default, so when generating routes please do not use Also an issue was found about adding the route provider when the provider array already exists on the root component. This will be tracked via #656 |
Sounds good. |
It seems that the new way to specify the default path is to simply set it to '/':
So the CLI may have to translate |
The RC 1 router documentation is starting to come in. The examples are instantiating the default route in
|
after you import.. Route, Router, you don't need new Route() |
Ah, what?? @routes ?? What is going on, why routing is not stable. I mean, this is backbone of every web piece guys. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Version: [email protected]
Running the app gives the following error:
The text was updated successfully, but these errors were encountered: