UNPKG

vue-express-mongo-boilerplate

Version:

Express NodeJS application server boilerplate with Mongo and VueJS

20 lines (17 loc) 272 B
const state = { profile: {} }; const mutations = { ["UPDATE"] (state, profile) { state.profile = profile; } }; import * as getters from "./getters"; import * as actions from "./actions"; export default { namespaced: true, state, getters, actions, mutations };