vue-template-widget
v0.0.27
Published
The default template for building new widgets. Each widget created should be forked versions of this repository.
Readme
Vue Template Widget
Vue Widget Template Component
Synopsis
The default template for building new widgets. Each widget created should be forked versions of this repository.
Code Examples
Install:
npm install vue-widget-template --saveUsage:
Vue.use(Widget, options);or within existing components:
import Widget from 'vue-template-widget';
export default {
components: {
Widget
}
}Installation
Install dependencies:
npm installCopy .env.example to create .env:
cp .env.example .envCopy config files over:
cp ./src/config/index.example.js ./src/config/index.jsServe with hot reload at localhost:8080 (default):
npm run devBuild for production with minification:
npm run buildDocumentation
Documentation of options for the widget go here.
Test
Tests instructions go here.
