Sha256: ddde9ebdb134cd629258750dea197b5caacc8ef273f257a37a698606ca2d1c84

Contents?: true

Size: 765 Bytes

Versions: 1

Compression:

Stored size: 765 Bytes

Contents

Description:
    Generates a namespaced, blank Vuex store split into multiple files

Example:
    rails generate vue:store Application

    This will create:
        app/javascript/stores/application/Store.js
        app/javascript/stores/application/actions.js
        app/javascript/stores/application/getters.js
        app/javascript/stores/application/mutations.js
        app/javascript/stores/application/state.js

Example:
    rails generate vue:store pets/Kittens

    This will create:
        app/javascript/stores/pets/kittens/Store.js
        app/javascript/stores/pets/kittens/actions.js
        app/javascript/stores/pets/kittens/getters.js
        app/javascript/stores/pets/kittens/mutations.js
        app/javascript/stores/pets/kittens/state.js

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vue-generators-0.1.3 lib/vue/generators/vue/store/USAGE