We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
答案:
vue 框架中状态管理。在 main.js 引入 store,注入。新建一个目录 store,….. export 。场景有:单页应用中,组件之间的状态。音乐播放、登录状态、加入购物车
main.js:
import store from './store' new Vue({ el:'#app', store })
The text was updated successfully, but these errors were encountered:
No branches or pull requests
答案:
vue 框架中状态管理。在 main.js 引入 store,注入。新建一个目录 store,….. export 。场景有:单页应用中,组件之间的状态。音乐播放、登录状态、加入购物车
main.js:
The text was updated successfully, but these errors were encountered: