1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-26 16:44:22 +02:00

add prebundled notice to the installing guide

This commit is contained in:
Ian Storm Taylor
2016-07-20 14:43:11 -07:00
parent 1527c44c5b
commit 00ee5c3c70

View File

@@ -13,6 +13,8 @@ You'll also need to be sure to install Slate's peer dependencies for React:
npm install react react-dom npm install react react-dom
``` ```
_Note, if you'd rather use a pre-bundled version of Slate, you can `npm install slate` and retrieve the bundled `dist/slate.js` file! It comes with React pre-bundled as well, so you can use it as a single file._
Once you've install it, you'll need to import it. Once you've install it, you'll need to import it.
Slate exposes a set of modules that you'll use to build your editor. The most important of which is an `Editor` component. Slate exposes a set of modules that you'll use to build your editor. The most important of which is an `Editor` component.