0.0.9 • Published 5 years ago

@smarts/smart-components v0.0.9

Weekly downloads
9
License
MIT
Repository
-
Last release
5 years ago

Built With Stencil

Smart Components

This is the repository for web components from the Smartmatic Design System.

Using these components

Script tag

  • Put these script tags in the head of your index.html:

    <script
      type="module"
      src="https://unpkg.com/@diondre27/smart-components@latest/dist/smarts/smarts.esm.js"
    ></script>
    <script
      nomodule=""
      src="https://unpkg.com/@diondre27/smart-components@latest/dist/smarts/smarts.js"
    ></script>
  • Then you can use the elements anywhere in your template, JSX, html etc

Node Modules

  • Run npm install my-component --save
  • Put these script tags in the head of your index.html:
    <script
      type="module"
      src="https://unpkg.com/@diondre27/smart-components@latest/dist/smarts/smarts.esm.js"
    ></script>
    <script
      nomodule=""
      src="https://unpkg.com/@diondre27/smart-components@latest/dist/smarts/smarts.js"
    ></script>
  • Then you can use the elements anywhere in your template, JSX, html etc
0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago