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

How to use @NgModule with ui-router-ng2 properly? #2922

Closed
kolkov opened this issue Aug 16, 2016 · 7 comments
Closed

How to use @NgModule with ui-router-ng2 properly? #2922

kolkov opened this issue Aug 16, 2016 · 7 comments
Labels
Milestone

Comments

@kolkov
Copy link

kolkov commented Aug 16, 2016

Hi!
Please provide some examples!

@christopherthielen
Copy link
Contributor

I'm working on it; examples coming soon.

This is a breaking change for beta.1, so I'll need to add support in ui-router 1.0.0-beta.2.
This also changes a lot for bootstrapping a ui-router-ng2 app.

Look for an update in the next few days.

@kolkov
Copy link
Author

kolkov commented Aug 16, 2016

Thanks!

@kolkov
Copy link
Author

kolkov commented Aug 31, 2016

Good news!)) Thank you very much!

@kolkov
Copy link
Author

kolkov commented Aug 31, 2016

Can't update package (

npm ERR! notarget No compatible version found: ui-router-ng2@'>=1.0.0-beta.2'
npm ERR! notarget Valid install targets:
npm ERR! notarget 0.1.0-preview.0, 1.0.0-alpha.2, 1.0.0-alpha.3, 1.0.0-alpha.4, 1.0.0-alpha.5, 1.0.0-beta.1
npm ERR! notarget
npm ERR! notarget This is most likely not a problem with npm itself.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

@christopherthielen
Copy link
Contributor

The code is in master but beta.2 hasn't released yet. There are 2 open
issues I'm looking at for the beta 2 milestone.
On Wed, Aug 31, 2016 at 3:37 AM Andrey Kolkov [email protected]
wrote:

Can't update package (

npm ERR! notarget No compatible version found: ui-router-ng2@'>=1.0.0-beta.2'
npm ERR! notarget Valid install targets:
npm ERR! notarget 0.1.0-preview.0, 1.0.0-alpha.2, 1.0.0-alpha.3, 1.0.0-alpha.4, 1.0.0-alpha.5, 1.0.0-beta.1
npm ERR! notarget
npm ERR! notarget This is most likely not a problem with npm itself.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.


You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
#2922 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB9VZr7HgW0fPQA3l_Hhg8XM5tIWtB09ks5qlT1AgaJpZM4Jldsb
.

@FlawaCLV
Copy link

FlawaCLV commented Oct 4, 2016

@christopherthielen is it possible to have an example ? The doc is not updated yet.. Thanks !

@christopherthielen
Copy link
Contributor

UIRouterModule docs

Tutorial 1 - Hello World
Tutorial 2 - Hello Solar System
Tutorial 3 - Hello Galaxy

Hope this helps.

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

No branches or pull requests

3 participants