0.1.2 • Published 5 years ago

@tarvainen/counter-component v0.1.2

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

COUNTER-COMPONENT

Usage

  1. Install package
npm i @tarvainen/counter-component
  1. Import and register custom element
import CounterComponent from '@tarvainen/counter-component'

customElements.define('app-counter', CounterComponent)
  1. Use it
<html>
  <body>
    // ...
    <app-counter></app-counter>
  </body>
</html>

Development

Start development server by issuing following command.

npm run serve

Running tests

npm test

License

MIT

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago