mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-27 17:09:53 +02:00
Replace npmcdn.com with unpkg.com (#284)
This commit is contained in:
committed by
Ian Storm Taylor
parent
98d663be5d
commit
0893418bca
@@ -39,13 +39,13 @@ Then you can add `slate.js` after those includes:
|
||||
<script src="./vendor/slate.js"></script>
|
||||
```
|
||||
|
||||
To make things easier, for quick prototyping, you can also use the [`npmcdn.com`](https://npmcdn.com/#/) delivery network that makes working with bundled npm modules easier. In that case, your includes would look like:
|
||||
To make things easier, for quick prototyping, you can also use the [`unpkg.com`](https://unpkg.com/#/) delivery network that makes working with bundled npm modules easier. In that case, your includes would look like:
|
||||
|
||||
```html
|
||||
<script src="https://npmcdn.com/react/dist/react.js"></script>
|
||||
<script src="https://npmcdn.com/react-dom/dist/react-dom.js"></script>
|
||||
<script src="https://npmcdn.com/immutable/dist/immutable.js"></script>
|
||||
<script src="https://npmcdn.com/slate/dist/slate.js"></script>
|
||||
<script src="https://unpkg.com/react/dist/react.js"></script>
|
||||
<script src="https://unpkg.com/react-dom/dist/react-dom.js"></script>
|
||||
<script src="https://unpkg.com/immutable/dist/immutable.js"></script>
|
||||
<script src="https://unpkg.com/slate/dist/slate.js"></script>
|
||||
```
|
||||
|
||||
That's it, you're ready to go!
|
||||
|
Reference in New Issue
Block a user