0.0.2 • Published 9 years ago
posva-test-vue-plugin-template v0.0.2
TestVuePluginTemplate
A Vue.js Plugin
Installation
npm install --save test-vue-plugin-templateUsage
Bundler (Webpack, Rollup)
import Vue from 'vue'
import TestVuePluginTemplate from 'test-vue-plugin-template'
// You need a specific loader for CSS files like https://github.com/webpack/css-loader
import 'test-vue-plugin-template/dist/test-vue-plugin-template.css'
Vue.use(TestVuePluginTemplate)Browser
<!-- Include after Vue -->
<link rel="stylesheet" href="test-vue-plugin-template/dist/test-vue-plugin-template.css"></link>
<script src="test-vue-plugin-template/dist/test-vue-plugin-template.js"></script>Development
Launch visual tests
npm run devLaunch Karma with coverage
npm run dev:coverageBuild
Bundle the js and css of to the dist folder:
npm run build