eswat2 / git-notes

build the Github Note Taker app using Vue 3 and Vite..
https://git-notes-eswat2.vercel.app
5 stars 0 forks source link

add Vuex store #9

Open eswat2 opened 6 years ago

eswat2 commented 6 years ago

create a simple Vuex store to replace the embedded store

  1. store with simple mutations
  2. actions issue commits to mutate store
  3. remove event mechanism to push changes
  4. containers access data via the store
  5. leave event mechanism to invoke actions (phase 1)
eswat2 commented 6 years ago

Phase 2:

  1. move actions into store
  2. invoke actions with store.dispatch
eswat2 commented 2 years ago

Need this for Vue3 and Vuex next