Skip to content

Adds documentation to use Vuex

Filipa Lacerda requested to merge vue-docs into master

What does this MR do?

Adds topics to help developers including Vuex and bootstraping a Vue application:

  • How to provide initial data in a vue application
  • How to get data from gl object
  • How to include Vuex
  • How to separate concerns (actions, getters, mutations, mutation types) and link to vuex docs
  • How and why to use mutation types
  • File structure of the store should look like (as stated in vuex docs)
  • How to write tests for Vuex
  • How to write tests for Vue components that use a Vuex Store
  • How to include SVGs in .vue components

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #36070 (closed)

Merge request reports