Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 739 Bytes

README.md

File metadata and controls

24 lines (16 loc) · 739 Bytes

web component starter

starter for creating web components, contains a demo "hello-world" src/components/hello-world component

Dependencies

at runtime
  • uhtml (for creating HTML templates in JS)
at development time
Install npm dependencies
  • npm install
bundle third party dependencies into single ES module

npx rollup --config rollup.config.js bundles ES6 module in src/lib/vendor`

Run (using local development server) renders hello-world component

  • npm start
  • launch browser http://localhost:3000