Vuex Store

A blog module is avaliable to access the authors and categories with a set of actions and mutations.

Actions

  • blog/setAuthors fetch authors and save them to the authors state
  • blog/setCategories fetch categories and save them to the categories state

Mutations

  • blog/SET_AUTHORS save the given authors to the authors state
  • blog/SET_CATEGOIRES save the given categories to the categories state