0.0.2 • Published 7 years ago
test-vue-plugin-template v0.0.2
TestVuePluginTemplate
A Vue.js Plugin
Installation
npm install --save test-vue-plugin-template
Usage
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 dev
Launch Karma with coverage
npm run dev:coverage
Build
Bundle the js and css of to the dist
folder:
npm run build
License
0.0.2
7 years ago