Skip to content

Kat5ura/generator-vue2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

generator-vue2

A yeoman generator for vue2 app with vue-router2/vuex2/vue-resource/mint-ui/mockjs.

Usage

First, install generator-vue2:

npm install -g generator-vue2

Then create a new folder and cd into it

yo vue2

Now you`ve got a new seed project!


You can add a new view with

yo vue2:view

Then you have a folder under views folder, named with [specifiedViewName], and there you can also get other related things, like component folder, vuex moudle folder. Besides, the route config has already been generated, without manual operation.


You can also get a component with

yo vue2:component

And you need to specify a folder where you want to place your new component.


Now, start your coding!

About

A yeoman generator for vue2 app with vue-router2/vuex2/vue-resource/mint-ui/mockjs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages