Awesome
Lego Web Components Demo
This place is a good start to experiment the Lego Webcomponents Library.
Lego is a minimalistic web-component library to write HTML/CSS/JS that is modern, native and future-proof.
Usage of this demo
Install Lego Tools
Lego is simple to install:
npm install @polight/lego
or
yarn add @polight/lego
Run
npx lego
or
yarn lego
Will transpile HTML components from bricks/ to JS components to dist/.
Preview the demo
You should run your favorite local static server to view this demo site.
For example if Python3 is install on your computer you may run python3 -m http.server
and open your browser at http://localhost:8000.
Of course you may use any other static page server like http-server.