authservice-vue

0.0.6 • Public • Published

my-component

A Vue.js component module

Usage

ES6 Modules / CommonJS

$ npm run build
import MyComponent from 'dist/my-component';
 
Vue.component('my-component', MyComponent);
<my-component text="Hello World!"></my-component>

UMD

$ npm run build:umd
<my-component text="Hello World!"></my-component>
 
<script src="https://unpkg.com/vue" charset="utf-8"></script>
<script src="./dist/my-component.min.js" charset="utf-8"></script>
 
<script type="text/javascript">
  Vue.component('my-component', window.MyComponent);
</script> 

Installation

Using yarn

yarn add my-component

Using npm

npm i --save my-component

Demo and Docs

npm run serve

Tests

This template uses karma with chai by default, you can change test settings in poi.config.js

npm run test npm run test:watch npm run test:cov

License

This project is licensed under MIT License

Package Sidebar

Install

npm i authservice-vue

Weekly Downloads

1

Version

0.0.6

License

MIT

Unpacked Size

619 kB

Total Files

7

Last publish

Collaborators

  • philcal