https://github.com/webmasterdevlin/vuex-4-course-starter
Starter code of the Vuex 4 course
https://github.com/webmasterdevlin/vuex-4-course-starter
react reactjs vuex vuex4
Last synced: 12 months ago
JSON representation
Starter code of the Vuex 4 course
- Host: GitHub
- URL: https://github.com/webmasterdevlin/vuex-4-course-starter
- Owner: webmasterdevlin
- Created: 2020-12-27T23:38:30.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-08-10T06:15:58.000Z (almost 5 years ago)
- Last Synced: 2025-06-01T03:04:35.107Z (about 1 year ago)
- Topics: react, reactjs, vuex, vuex4
- Language: Vue
- Homepage:
- Size: 177 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Vuex 4 Course
### What to build in order
- Navbar
- Heroes (class card)
- Router
- 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)
- Do the Anti Heroes
- 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