- importly web package manager generates import maps
- unpkg.com cdn hosts dependencies
- es-module-shims polyfill for import maps
- lit-element web component baseclass
- lit-html renders jsx-style templates
- go all-native with es modules — oh so lean, oh so clean — very neat
- use lit-element and lit-html to write modern framework-agnostic web components
- external dependencies are managed by importly and are loaded from the unpkg cdn
- clone this project
git clone <GITURL>
- run
npm install
in the project - start the http server
- start it in the project directory:
npm run http-server
- browse to http://localhost:5000
- start it in the project directory:
- code, reload, repeat, profit
it's for dev-time dependencies, like importly
and serve
in the future, when web modules land in node — we won't need a package.json
anymore 😎
maybe not... i'm looking into integrating importly with @pika/web
's workflow for optimization