@pie-framework/pie-demo v4.1.0
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>
Installation
Install nvm, or at least make sure you have the 16.13.0 version installed (node --version)
https://www.freecodecamp.org/news/node-version-manager-nvm-install-guide/
- nvm use
- nvm install 16.13.0
- npm install -g pnpm@6.35.1
- yarn install
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)
4 days ago
25 days ago
9 months ago
6 months ago
8 months ago
12 months ago
12 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
4 years ago
4 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago