Vuex Store
A blog module is avaliable to access the authors and categories with a set of actions and mutations.
Actions
- blog/setAuthorsfetch authors and save them to the- authorsstate
- blog/setCategoriesfetch categories and save them to the- categoriesstate
Mutations
- blog/SET_AUTHORSsave the given authors to the- authorsstate
- blog/SET_CATEGOIRESsave the given categories to the- categoriesstate