- state
- 共通のデータを格納する場所
- getters
- state にあるデータを別のデータとして処理・算出する
- mutations
- state の値を変更する
- actions
- 非同期処理を行う
- modules
- store を分割して整理する
this.$store.state.〇〇
...mapState(['〇〇'])
this.$store.getters.〇〇
...mapGetters(['〇〇'])
this.$store.commit('〇〇')
this.$store.dispatch('〇〇')
yarn install
yarn serve
yarn build
yarn lint