Open wtsang11 opened 2 years ago
store/store-tasks.js store/index.js https://vuex.vuejs.org/#what-is-a-state-management-pattern
Copy data array to store/store-tasks.js Install vuex js extension in Chrome https://chrome.google.com/webstore/detail/vuejs-devtools/nhdogjmejiglipccpnnnanhbledajbpd?hl=en
Using mapGetters https://vuex.vuejs.org/api/#mapgetters
Setup a Vuex Store
store/store-tasks.js store/index.js https://vuex.vuejs.org/#what-is-a-state-management-pattern
Add Tasks Data to the Vuex Store / Vue Devtools Chrome Extension
Copy data array to store/store-tasks.js Install vuex js extension in Chrome https://chrome.google.com/webstore/detail/vuejs-devtools/nhdogjmejiglipccpnnnanhbledajbpd?hl=en
Using mapGetters https://vuex.vuejs.org/api/#mapgetters