怎么用新的store替换旧的store #2308
Unanswered
battleingame
asked this question in
Help and Questions
Replies: 2 comments 2 replies
-
我也在思考这个问题,楼主有方案了吗 |
Beta Was this translation helpful? Give feedback.
1 reply
-
如果父子应用都可以修改state,直接重用同一个store。 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
框架: vue3 + vite4.2+ qiankun2.0 +pinia
前提:使用微前端框架,需要共享状态
现状:父子应用定义了store(子应用定义主要保持单应用信息取值和父应用一致)我将父应用store传递过来,怎么配置或者用什么方法可以达到父子应用用同一个store,而不是子应用再获取一遍数据处理自己的store
望各位大神提供建议
Beta Was this translation helpful? Give feedback.
All reactions