vue-plugin-m1
v0.0.3
Published
A Vue.js Plugin
Downloads
15
Readme
VuePluginM1
A Vue.js Plugin
Installation
npm install --save vue-plugin-m1
Usage
Bundler (Webpack, Rollup)
import Vue from 'vue'
import VuePluginM1 from 'vue-plugin-m1'
// You need a specific loader for CSS files like https://github.com/webpack/css-loader
import 'vue-plugin-m1/dist/vue-plugin-m1.css'
Vue.use(VuePluginM1)
Browser
<!-- Include after Vue -->
<link rel="stylesheet" href="vue-plugin-m1/dist/vue-plugin-m1.css"></link>
<script src="vue-plugin-m1/dist/vue-plugin-m1.js"></script>
Development
Launch visual tests
npm run dev
Launch Karma with coverage
npm run dev:coverage
Build
Bundle the js and css of to the dist
folder:
npm run build