vanilla-river

0.3.0 • Public • Published
HTML Components System.

Usage

<html>
    <head>
        <script type="module" src="//cdn.jsdelivr.net/npm/vanilla-river@0.3"></script>
    </head>
    <body>
        <component src="components/c.htm"></component>
    </body>
</html>

By convention, we will use the .htm extension for our components.

Example Component

<h1>Hello World</h1>
<script>
    console.log("hello");
</script>
<style>
    /* whatever */
</style>

available on npm

Readme

Keywords

Package Sidebar

Install

npm i vanilla-river

Weekly Downloads

69

Version

0.3.0

License

CC BY 4.0

Unpacked Size

1.3 kB

Total Files

3

Last publish

Collaborators

  • planetrenox