会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
comeoncode
学如逆水行舟,不进则退。
博客园
首页
新随笔
联系
订阅
管理
2023年7月20日
vue学习——vuex工作原理+vuex环境搭建
摘要: vuex在index.js里引入,没在main.js里引入是因为vuex的使用必须在store之前, 单纯的把Vue.use(Vuex)放在import store form "../store"之前并不会生效, 因为执行的时候会扫描整个文件,把import都放置在一起先执行,所以单纯的移动位置没有
阅读全文
posted @ 2023-07-20 18:56 comeoncode
阅读(6)
评论(0)
推荐(0)
编辑
公告