Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mutations: {
- setName(state, name) {
- state.name = name;
- },
- },
- actions: {
- setName({ commit }, name) {
- commit('setName', name);
- },
- },
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement