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

Add jsDelivr links #27

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions _ng1/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ Other examples:
- Via command line
- Adding a specific version to your project: `npm install --save @uirouter/[email protected]`

- From [http://jsdelivr.com](https://www.jsdelivr.com/package/npm/@uirouter/angularjs) via a `<script>` tag in your html:
- Latest stable version: `<script src="//cdn.jsdelivr.net/npm/@uirouter/angularjs/release/angular-ui-router.min.js"></script>`
- A specific version: `<script src="//cdn.jsdelivr.net/npm/@uirouter/[email protected]/release/angular-ui-router.min.js"></script>`
- A legacy version: `<script src="//cdn.jsdelivr.net/npm/[email protected]/release/angular-ui-router.js"></script>`

- From <http://unpkg.com> via a `<script>` tag in your html:
- Latest stable version: `<script src="//unpkg.com/@uirouter/angularjs/release/angular-ui-router.min.js"></script>`
- A specific version: `<script src="//unpkg.com/@uirouter/[email protected]/release/angular-ui-router.min.js"></script>`
Expand Down
3 changes: 3 additions & 0 deletions _ng2/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ npm install --save ui-router-ng2
Other examples:

- Adding a specific version to your project: `npm install --save [email protected]`
- From [http://jsdelivr.com](https://www.jsdelivr.com/package/npm/ui-router-ng2) via a `<script>` tag in your html:
- Latest stable version: `<script src="//cdn.jsdelivr.net/npm/ui-router-ng2/_bundles/ui-router-ng2.js"></script>`
- A specific version: `<script src="//cdn.jsdelivr.net/npm/[email protected]/_bundles/ui-router-ng2.js"></script>`
- From <http://unpkg.com> via a `<script>` tag in your html:
- Latest stable version: `<script src="//unpkg.com/ui-router-ng2/_bundles/ui-router-ng2.js"></script>`
- A specific version: `<script src="//unpkg.com/[email protected]/_bundles/ui-router-ng2.js"></script>`
Expand Down