@abhishekover9000/vuegen 中文文档教程
About
VueJS 应用程序的样板脚手架工具
Installation
npm i -s @abhishekover9000/vuegen
Usage
NOTE- YOU MUST CALL THIS FROM THE ROOT DIRECTORY LEVEL FOR IT TO WORK
STEP 1- Configure your App routes
vuegen -0 或 vuegen --config
STEP 2: generate something
SCAFFOLDING A COMPONENT/PAGE AND UNIT TEST
vuegen -s [NAME] 或 --scaffold [NAME]
CREATING A PAGE
vuegen -c [NAME] 或 --component [NAME]
CREATING A COMPONENT
vuegen - c [NAME] 或 --component [NAME]
CREATE A UNIT TEST
vuegen -u [NAME] 或 --unit [NAME]
CHANGE A ROUTE
参见步骤 1
NEXT STEPS
- Adding more unit test library options beyond mocha/chai
- Adding support for vuex store creation similar to rails g model
- Build out Vue on Loud- A Ruby on Rails equivalent
About
Boilerplate Scaffolding Tool for VueJS Apps
Installation
npm i -s @abhishekover9000/vuegen
Usage
NOTE- YOU MUST CALL THIS FROM THE ROOT DIRECTORY LEVEL FOR IT TO WORK
STEP 1- Configure your App routes
vuegen -0 or vuegen --config
STEP 2: generate something
SCAFFOLDING A COMPONENT/PAGE AND UNIT TEST
vuegen -s [NAME] or --scaffold [NAME]
CREATING A PAGE
vuegen -c [NAME] or --component [NAME]
CREATING A COMPONENT
vuegen -c [NAME] or --component [NAME]
CREATE A UNIT TEST
vuegen -u [NAME] OR --unit [NAME]
CHANGE A ROUTE
see Step 1
NEXT STEPS
- Adding more unit test library options beyond mocha/chai
- Adding support for vuex store creation similar to rails g model
- Build out Vue on Loud- A Ruby on Rails equivalent