0.17.10 • Published 8 years ago
template-nmxxxxxx v0.17.10
create-vue-component
Install
yarn global add cvcAnother package create-vue-component on npm does not belong to us.
Usage
create-vue-component vue-xxx
# or type less
cvc vue-xxx
# you can also create component in place
mkdir vue-xxx && cd vue-xxx
cvcYou won't believe how clean the folder struture of generated project is (no config files!):
Documentation
folder structure
src/index.js: Your fancy componentexample/index.js: Entry file of your demo
npm scripts
yarn example: Run the demo for your component (with Poi)yarn example:build: Build the demo for your componentyarn build: Build your componentyarn test: Test your component
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature - Commit your changes:
git commit -am 'Add some feature' - Push to the branch:
git push origin my-new-feature - Submit a pull request :D
Author
create-vue-component © EGOIST, Released under the MIT License. Authored and maintained by EGOIST with help from contributors (list).
github.com/egoist · GitHub @EGOIST · Twitter @_egoistlily
0.17.10
8 years ago