Sha256: af8445d8c55ad4d32885eef2c5120a2bf03d015add1a53662285641caca346e0

Contents?: true

Size: 755 Bytes

Versions: 1

Compression:

Stored size: 755 Bytes

Contents

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

Example:
    rails generate vue:store Application

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

Example:
    rails generate vue:store pets/Kittens

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

Version data entries

1 entries across 1 versions & 1 rubygems

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