A minimum viable Metal app with Parcel Bundler
What's inside?
parcel-bundler
metal-jsx
metal-web-component
babel-preset-metal-jsx
- Git clone
git clone git@github.com:matuzalemsteles/metal-parcel-example.git
- Enter the folder
cd metal-parcel-example
- Install local dependencies:
npm install
- Start the demo server:
npm run start
Then open http://localhost:1234
.
npm run build
This will compile your JS and copy your index.html to the dist folder.