mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-21 06:31:28 +02:00
Add installing important plugins to TypeScript docs
This commit is contained in:
@@ -4,10 +4,10 @@ Extended TypeScript support is currently available in the `@next` release of Sla
|
|||||||
|
|
||||||
```sh
|
```sh
|
||||||
# for npm
|
# for npm
|
||||||
npm install --save slate@next
|
npm install --save slate@next slate-react@next slate-history@next
|
||||||
|
|
||||||
# for yarn
|
# for yarn
|
||||||
yarn add slate@next
|
yarn add slate@next slate-react@next slate-history@next
|
||||||
```
|
```
|
||||||
|
|
||||||
Slate supports typing of one Slate document model (eg. one set of custom `Editor`, `Element` and `Text` types).
|
Slate supports typing of one Slate document model (eg. one set of custom `Editor`, `Element` and `Text` types).
|
||||||
|
Reference in New Issue
Block a user