site/examples/Readme.md
This directory contains a set of examples that give you an idea for how you might use Slate to implement your own editor. Take a look around!
<textarea>.If you have an idea for an example that shows a common use case, pull request it!
To get the examples running on your machine, you need to have the Slate repository cloned to your computer. After that, you need to cd into the directory where you cloned it, and install the dependencies with yarn and build the monorepo:
yarn install
yarn build
Then start the watcher and examples server:
yarn start
Now you can open up http://localhost:3000 in your browser and you'll see the examples site. Any changes you make to the source code will be immediately reflected when you refresh the page. You can open the examples URL quickly with:
yarn open