@polight/lego
Version:
Tiny Web-Components lib for future-proof HTML mentors
25 lines (17 loc) ⢠671 B
Markdown
Documentation was moved to https://github.com/Polight/lego/tree/master/docs
```html
<template>
<p>Welcome to Lego, the native and ${duration} web-components library.</p>
</template>
<script>
export default class extends Lego {
init() {
this.state = { duration: "Future-Proof" }
}
}
</script>
```
š Lego Web-Components, the Native and Future-Proof Web-Components Library.
Lego is a web-component library that allows you to build HTML elements easily and compile them to native HTML elements.
The whole library runs within the browser.
To know more, go to [the documentation](https://lego.js.org/) to install and create native web-components.