vue-template-widget
v0.0.27
Published
The default template for building new widgets. Each widget created should be forked versions of this repository.
Downloads
55
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 --save
Usage:
Vue.use(Widget, options);
or within existing components:
import Widget from 'vue-template-widget';
export default {
components: {
Widget
}
}
Installation
Install dependencies:
npm install
Copy .env.example to create .env:
cp .env.example .env
Copy config files over:
cp ./src/config/index.example.js ./src/config/index.js
Serve with hot reload at localhost:8080 (default):
npm run dev
Build for production with minification:
npm run build
Documentation
Documentation of options for the widget go here.
Test
Tests instructions go here.