You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When UI-Router for AngularJS 1.0 was released, we split the bundles into `ui-router-core.js` and `ui-router-angularjs.js`.
@@ -30,13 +29,14 @@ Users who formerly included only `angular-ui-router.js` should now include both
30
29
Add [`ui-router-core.js`](https://unpkg.com/@uirouter/core/_bundles/) from the [`@uirouter/core` package](https://github.com/ui-router/core)
31
30
as well as [`ui-router-angularjs.js`](https://unpkg.com/@uirouter/[email protected]/release/) from the [`@uirouter/angularjs` package](https://github.com/angular-ui/ui-router).
32
31
33
-
### Backwards compatibility mono-bundle
32
+
### Backward compatible mono-bundle
34
33
35
-
For backwards compatibility reasons, we will continue to publish a monolithic bundle as [`angular-ui-router.js`](https://unpkg.com/@uirouter/angularjs/release/).
34
+
For backwards compatibility, we will continue to publish a monolithic bundle as [`angular-ui-router.js`](https://unpkg.com/@uirouter/angularjs/release/).
36
35
This bundle includes *both the core and angularjs code*.
37
-
However, this bundle is not compatible with many UI-Router plugins which depend on `@uirouter/core`.
36
+
Existing users who rely on the `angular-ui-router.js` bundle do not have to change anything.
37
+
However, this bundle is not compatible with UI-Router plugins which depend on `@uirouter/core`.
38
38
39
39
### Webpack users
40
40
41
-
Users of webpack (or any bundlers which use node module resolution) should not need to make any changes because of UMD bundles.
41
+
Users of webpack (or any bundlers which use node module resolution) should not need to make any changes due to these bundle changes.
42
42
Simply `require` or `import` from the [scoped package](/blog/uirouter-scoped-packages/)`@uirouter/angularjs` instead of from `angular-ui-router`.
0 commit comments