0.0.3 • Published 7 years ago

vue-plugin-m1 v0.0.3

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

VuePluginM1

npm vue2

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

License

MIT