For demonstration purpose only
- Install VueX in Vue CLI
- State and getters (number, numbers and state)
- Mutations (generate a random number on click)
- Actions (add a random number using API)
- Mapping getters, mutations and actions
npm install
npm run serve
npm run build