sdras / vue-vscode-snippets

These snippets were built to supercharge my workflow in the most seamless manner possible.
https://marketplace.visualstudio.com/items?itemName=sdras.vue-vscode-snippets
MIT License
1.33k stars 185 forks source link

Add in vuex modules snippet #31

Closed dawnfantasy closed 5 years ago

dawnfantasy commented 5 years ago

Please add in store modules scaffolding "vstore-module".

const state = () => ({ data: '' });

const getters = { };

const actions = { };

const mutations = {
};

export default { namespaced: true, state, getters, actions, mutations };

sdras commented 5 years ago

This is merged! Thanks @Luke-Wilson!