Icons for cork elements
yarn install @ucd-lib/cork-icons
First, make sure you have webpack installed.
npm install -g webpack webpack-cli
Now install both element dependencies and developer dependences (in /demo).
yarn install
cd demo && npm install
Now fireup webpack, this will create a bundle.js file in /demo. Bundle file will automatically rebuild when any required resource changes.
cd demo && npm run dev
Finally, serve demo directory. Recommend http-server.
Install http-server
npm install -g http-server
Serve demo directory
http-server demo