Skip to content

Vuex 的使用

Vuex 基本概念

  • state
  • getters
  • actions
  • mutations
  • modules

用于 Vue 组件

  • dispatch
  • commit
  • mapState
  • mapGetters
  • mapActions
  • mapMutations

流程图

基于 MIT 许可发布