README
PIE Demo
A Custom Element for demonstrating a PIE interaction designed for use with the pie-cloud packaging service.
<pie-demo editor="true" pie="@pie-element/multiple-choice"> </pie-demo>
Commands
yarn ... |
description |
---|---|
install |
install |
test |
test |
dev |
run dev server for development |
release |
build, tag + publish pkg |
yarn dev
Edit src/index.html with the name and version of the element you want to demo. And also alter the model.
Notes
When running npm start
the HMR will attampt to re-define the custom element and get an already defined error. Need to refresh the page.
TODO
make script loading optional (but still define custome elements from pre-loaded)