Nevertheless Published Mine
    Wondering what’s next for npm?Check out our public roadmap! »

    @hikaruna/hello-world-web-component

    1.0.0 • Public • Published

    hello-world-web-component

    単純なwebcomponentのサンプルです。

    Usage

    From Web

    <hello-world></hello-world>
    <script type="module">
      import HelloWorld from 'https://unpkg.com/@hikaruna/hello-world-web-component/hello-world.mjs'
      customElements.define('hello-world', HelloWorld);
    </script> 

    詳しくは example.html を参照

    From npm

    $ npm i @hikaruna/hello-world-web-component
    import HelloWorld from '@hikaruna/hello-world-web-component';
     
    // use HelloWorld

    Development

    $ docker-compose up
    $ open http://localhost:3000/example.html

    Keywords

    none

    Install

    npm i @hikaruna/hello-world-web-component

    DownloadsWeekly Downloads

    1

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    2 kB

    Total Files

    4

    Last publish

    Collaborators

    • avatar