0.1.8 • Published 7 years ago

vuegen-cli v0.1.8

Weekly downloads
3
License
GPL-3.0
Repository
github
Last release
7 years ago

VueGen-CLI Tool

About

Tool for generation JavaScript code for project. http://pksunkara.com/posts/complex-vuejs-app-structure/

Usage

$ vuegen store <moduleName> <stateStructure>

where <stateStructure> is list of fields in state separated by "|". If field is object use "objectName(field1, field2, field3,...)" syntax.

For example:

$ vuegen store contract "step|buildingType|contractType|tenant(address, name, id, phone)"

generates next state:

const state = {
    step: undefined,
    buildingType: undefined,
    contractType: undefined,
    tenant: {
        address: undefined,
        name: undefined,
        id: undefined,
        phone: undefined,
    }
};

and getters, mutations, mutation types and mixins with computed fields.

0.1.8

7 years ago

0.1.7

7 years ago

0.1.6

7 years ago

0.1.5

7 years ago

0.1.4

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago

1.0.0

7 years ago