Clone in a terminal:
index.html
<!doctype html>
<html lang="en">
    <head>
        <meta charset="UTF-8" />
        <link rel="stylesheet" href="styles.css" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <title>Example: Web Components using Kaja Web</title>
        <script type="module" src="main.js" defer></script>
    </head>

    <body>
        <main-component></main-component>
    </body>
</html>

File history (2 commits)

ae58226 Johan Mattsson - johan.mattsson.m@gmail.com
Update example
Update example
674bd7b Johan Mattsson - johan.mattsson.m@gmail.com
Full example using web components
Full example using web components

Click counter example.

Contact

Email: johan.mattsson.m@gmail.com
Mastodon: typo.social/@birdfont
GitHub: johanmattssonm
LinkedIn: johan-mattsson-2ab324112