https://github.com/webmasterdevlin/ijs-vuex4-composition-api
https://github.com/webmasterdevlin/ijs-vuex4-composition-api
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/webmasterdevlin/ijs-vuex4-composition-api
- Owner: webmasterdevlin
- Created: 2021-10-29T08:07:40.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-10-29T14:35:57.000Z (over 4 years ago)
- Last Synced: 2025-01-26T13:42:35.130Z (over 1 year ago)
- Language: Vue
- Size: 462 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# vuex course
### What to build in order
- Manual Vue.js 3 on CLI
- npm i bootstrap 5
- npm i bootstrap-icon
- Navbar
- Heroes (class card)
- npm i vue-router 4
- Router
- npm i vuex 4
- Setup Vuex 4 - hero module
- Get Request (v-for)
- Delete Request (class btn btn-danger)
- Post Request (Form)
- Put Request (editingTracker, v-if, v-else)
- Done! Now do the Villain part with its own page and Vuex module.
### Vuex Setup
- create store
- write a module
- write a state
- npm i axios
- write an api service
- write a type
- write an action
- write a mutation
- write a getter
- update components with mapGetters and mapActions
- npm i concurrently json-server
- copy-paste db.json
- awesome vue