mirror of
https://github.com/Choices-js/Choices.git
synced 2024-06-04 23:12:17 +02:00
Add CDN examples to README
This commit is contained in:
parent
2c434feb43
commit
0439728374
11
README.md
11
README.md
|
@ -28,7 +28,16 @@ With [Yarn](https://yarnpkg.com/):
|
||||||
yarn add choices.js
|
yarn add choices.js
|
||||||
```
|
```
|
||||||
|
|
||||||
From a [CDN](https://www.jsdelivr.com/package/npm/choices.js)
|
From a [CDN](https://www.jsdelivr.com/package/npm/choices.js):
|
||||||
|
|
||||||
|
```html
|
||||||
|
<!-- Include base CSS (optional) -->
|
||||||
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/choices.js@3/assets/styles/css/base.min.css">
|
||||||
|
<!-- Include Choices CSS -->
|
||||||
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/choices.js@3/assets/styles/css/choices.min.css">
|
||||||
|
<!-- Include Choices JavaScript -->
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/choices.js@3/assets/scripts/dist/choices.min.js"></script>
|
||||||
|
```
|
||||||
|
|
||||||
Or include Choices directly:
|
Or include Choices directly:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue