-
Notifications
You must be signed in to change notification settings - Fork 63
Open
Description
At this line:
| import uiRouter from "@uirouter/angularjs"; |
There is an import to "@uirouter/angularjs" but in the documentation it's written
Remove angular-ui-router (or @uirouter/angularjs) from your AngularJS app's package.json and replace it with @uirouter/angular-hybrid. Add the @angular/* dependencies.
Therefore what should I do?
If I remove it from the app's package.json, I cannot import it otherwise I got a compilation error. However, in the live example, I noticed that the @uirouter/angularjs lib has been loaded by Webpack.
I'm asking this question because I kept it in the package.json then removed it and my app doesn't run anymore (I'm using SystemJS) because I get an error in Chrome:

Sould I keep it and reference it using some specific path (like this one: "@uirouter/angular-hybrid/node_modules/@uirouter/angularjs") which works btw?
Thanks!
david-meza, J-Swift and gweinert
Metadata
Metadata
Assignees
Labels
No labels