Custom Element for Demoing PIE Framework Interactions
npm install pie-demoA Custom Element for demonstrating a PIE interaction designed for use with the pie-cloud packaging service.
``html
pie="@pie-element/multiple-choice"
>
`
npm install
Edit src/index.html with the name and version of the element you want to demo. And also alter the model.
Example
`html
`
Run e2e and unit tests:
npm run test
Launch the local index.html in hot-module-reload server:
npm run start
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)