Run a preview server with live reloading for a ribcage component
npm install -g ribcage-preview
ribcage-preview <dir>
<dir>
should be the directory of the component you want to preview.
Create an example
folder in your <dir>
with an entry.js
and an entry.css
. All HTML should be created by entry.js
.
open http://localhost:4000/default
This URL with livereload on every file change, and load in the compiled entry.js
and entry.css
.