Skip to content
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

No router example working #92

Closed
plopinou opened this issue Oct 8, 2015 · 1 comment · Fixed by #104
Closed

No router example working #92

plopinou opened this issue Oct 8, 2015 · 1 comment · Fixed by #104

Comments

@plopinou
Copy link

plopinou commented Oct 8, 2015

Hello,
Before everything else, I thank you very much for providing a starter pack to what seem to me to be the future best angular 2 workflow when the final will be released.
I tried multiple examples and everything seem to work fine, except for the "large app" example, which is also the only one featuring a router.
I managed to correct all the errors, but the router is still not functional with the error "EXCEPTION: No provider for Token RouterPrimaryComponent! (RouterLink -> Router -> Token RouterPrimaryComponent)".

I also tried to wrap with webpack the angular 2 seed sample from the repo at https://github.com/mgechev/angular2-seed , but for whatever reason, vars in {{}} aren't interpreted in the about or home templates, as if some sort of $digest wasn't there (even if it doesn't exist anymore in angular 2).

Is there any way to see a working router example with multiple paths using webpack and angular 2 ?
Even a basic plunker would be ok :)

@chriscurnow
Copy link
Contributor

I have submitted a pull request that fixes most of the errors – but this has mainly been through trial and error. I still haven't got router working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants