vue-component-boilerplate

September 14, 2016 ยท View on GitHub

A simple Component setup for quick prototyping.

Usage

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

What's Included

  • 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.

Fork It And Make Your Own

You can fork this repo to create your own boilerplate, and use it with vue-cli:

vue init username/repo my-project