An open API service indexing awesome lists of open source software.

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

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