Skip to content

Demo components for the Lego WebComponents Library

Notifications You must be signed in to change notification settings

Polight/lego-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

-Read the documentation.

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.