A simple Component setup for quick prototyping.
This is a project template for vue-cli.
$ npm install -g vue-cli
$ vue init coffcer/component my-component
$ cd my-component
$ npm install
$ npm run dev
-
npm run dev
: Live the component in your local server. -
npm run build
: Build the component to UMD js -
npm run test
: Run test. -
npm run build:demo
: Build the dev page, and then you can live it in github.
You can fork this repo to create your own boilerplate, and use it with vue-cli
:
vue init username/repo my-project