feat(site): update content
This commit is contained in:
parent
a96047d680
commit
d0e458ff87
1 changed files with 7 additions and 8 deletions
|
@ -27,9 +27,9 @@
|
||||||
<main>
|
<main>
|
||||||
<p>
|
<p>
|
||||||
Our
|
Our
|
||||||
<a href="https://www.npmjs.com/package/web-component-base"
|
<a href="https://www.npmjs.com/package/web-component-base">
|
||||||
>base class</a
|
tiny package
|
||||||
>
|
</a>
|
||||||
provides zero-dependency, ~600 Bytes (minified & gzipped), JS base class
|
provides zero-dependency, ~600 Bytes (minified & gzipped), JS base class
|
||||||
for creating reactive custom elements easily
|
for creating reactive custom elements easily
|
||||||
</p>
|
</p>
|
||||||
|
@ -52,14 +52,13 @@ export class Counter extends WebComponent {
|
||||||
get template() {
|
get template() {
|
||||||
return `<button>${this.props.count}</button>`;
|
return `<button>${this.props.count}</button>`;
|
||||||
}
|
}
|
||||||
}</pre
|
}</pre>
|
||||||
>
|
|
||||||
</code-block>
|
</code-block>
|
||||||
</main>
|
</main>
|
||||||
<my-footer>
|
<my-footer>
|
||||||
<small
|
<small>
|
||||||
>A project by <a href="{{ author.url }}">{{ author.name }}</a></small
|
A project by <a href="{{ author.url }}">{{ author.name }}</a>
|
||||||
>
|
</small>
|
||||||
</my-footer>
|
</my-footer>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in a new issue