npm
, in which case you can follow the regular Installing Slate guide.<script>
tag to your application, this guide will help you. To make the "bundled" use case simpler, each version of Slate ships with a bundled source file called slate.js
.slate.js
, download the version of slate you want from npm:node_modules
folder for the bundled slate.js
file:slate.min.js
is also included for convenience.slate.js
to your page, you need to bring your own copy of react
, react-dom
and react-dom-server
, like so:slate.js
after those includes:unpkg.com
delivery network that makes working with bundled npm modules easier. In that case, your includes would look like: