-
-
Notifications
You must be signed in to change notification settings - Fork 594
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
关于vuex设置? #10
Comments
这个礼拜内会更新,nuxt 和 vuex升级导致的 |
3KS
name =()=> 用箭头函数搞定 感谢已解决! |
最新版是需要返回一个func,而不是一个obj |
你应该是是升到了A版本,建议暂时不要升级,等1.0出正式版再做重构,项目刚升级到0.10.7了。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
store/index.js
`export const state = {
a: 0
}
export const mutations = {
add (state) {
state.a++
}
}`
npm run dev 后提示:
请问使用状态树的模块化方式,是否需要配置其他地方呢?
一直在网上找demo,只有你的使用了这个模块化方式,我自己测试也不ok!
求教!
The text was updated successfully, but these errors were encountered: