import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex)

export const store = new Vuex.Store({
    state: {
        loading: false,
        AjaxData: data_license,
        messages: [],
      },
      mutations: {
          addMessage(state, payload) {
            state.messages.push({
                message: payload.message,
            })
          },
      }
})