EZE
Making creating meaninful demos / styleguides easy ❤️
Install
npm install eze -D
Create a ts (tsx) file (e.g. ./src/docs/main.ts
)
; /** Render documentation */;
Add a few npm scripts:
npm run docs
builds the demos out to the specified folder. HTML + JavaScript. You can push the outputdocs
folder to github, s3 or surge.sh or anywhere else you want 🌹.npm run docs:live
will build out the demos, serve the output folder (on port4000
or whatever is available in ascending order), and reload any connected browsers whenever the demo changes 🌹.