npm init vue@latest
after creating the folder
npm install
npm install pinia
- usage of pinia use pinia create a store can keep track of any Global state for the application
npm install json-server
watch
npx json-server --watch data/db.json
getters function
- install Vue.js devtools extension on browswer
This hook does is get all of the different State properties and Getters from a store and it creates refs out of those
** Cannot get actions and store them as refs using storeToRefs, only can use store itself
(install vue vscode Snippets) vbase-ns