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

    @netology-group/wc-reaction

    0.2.0 • Public • Published

    Usage

    Define module

    ES

    <script type="module">
      import { ReactionList } from '@netology-group/wc-reaction/es/index.js';
      window.customElements.define('reaction-list', ReactionList);
    </script> 

    UMD

    <script src="path/to/dist/index.js"></script>
    <script>window.customElements.define('reaction-list', window.WCReactions.ReactionList);</script> 

    In HTML

    Generic usage

    <reaction-list></reaction-list>

    How to

    Demo

    npm start

    Run for development

    npm run build -- --w

    Build for production

    NODE_ENV=production npm run build

    Keywords

    none

    Install

    npm i @netology-group/wc-reaction

    DownloadsWeekly Downloads

    10

    Version

    0.2.0

    License

    MIT

    Unpacked Size

    841 kB

    Total Files

    28

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar
    • avatar