text: import Vue from 'vue'
  import Vuex from 'vuex'
  import JsonViewer from 'vue-json-viewer'
  
  // Import JsonViewer as a Vue.js plugin
  Vue.use(JsonViewer)
  // import example from './module-example'
  import packets from './packets'
  import 'vue-json-viewer/style.css'
  import createPersistedState from "vuex-persistedstate";
  
  Vue.use(Vuex)
  
  /*
   * If not building with SSR mode, you can
   * directly export the Store instantiation;
   *
   * The function below can be async too; either use
   * async/await or return a Promise which resolves
   * with the Store instance.
   */
  
  export default function (/* { ssrContext } */) {
    const Store = new Vuex.Store({
      modules: {
        // example
        packets
      },
      // plugins: [createPersistedState()],
      // enable strict mode (adds overhead!)
      // for dev mode only
      strict: process.env.DEV
    })
  
    return Store
  }
  