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:
@@ -13,6 +13,8 @@ You'll also need to be sure to install Slate's peer dependencies for React:
|
||||
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.
|
||||
|
||||
Slate exposes a set of modules that you'll use to build your editor. The most important of which is an `Editor` component.
|
||||
|
Reference in New Issue
Block a user