Skip to content

Latest commit

 

History

History
 
 

playground

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Hocuspocus Playground

Hi!

Welcome to the playground. This is mainly meant for internal usage during Hocuspocus development,
but feel free to fiddle around here and find a few examples of how things can work.

Please note that there are different packages used in frontend / backend folders, so you should
run `npm install` in both if you get any errors.

The playground is importing @hocuspocus packages from the packages folder, so you need to build them first.
Run `npm run build:packages` in the repo root to do that.
If you want changes inside the packages folder to compile live, you can use rollup: `rollup -c -w`.

(see also docs/contributing.md)

You can run `npm run playground` in the repository root, which will spin up a development server on
http://127.0.0.1:3000.

If you have any questions, feel free to join our discord or ask on Github (links can be found in the
repo README.md one folder up).