/**
 * This is a page specific seperate vue instance initializer
 */

// include vue common libraries, plugins and components

import "../vue_common.js";


/**
 * Local Third-party Lib Imports
 */
/* Instances */
import Vuex from "vuex";
window.Vuex = Vuex;
Vue.use(Vuex);

/**
 * Below are the page specific plugins and components
 */

// for using time
import moment from "moment-timezone";
window.moment = moment;
import VueGoodTablePlugin from "vue-good-table";
// import the styles
import "vue-good-table/dist/vue-good-table.css";
Vue.use(VueGoodTablePlugin);

// Import the EventTotal component
import EventTotal from "./components/EventTotal.vue";

// Register the component globally
Vue.component("event-total", EventTotal);

/**
 * This is where we finally create a page specific
 * vue instance with required configs
 * element=app will remain common for all vue instances
 *
 * make sure to use window.app to make new Vue instance
 * so that we can access vue instance from anywhere
 * e.g interceptors
 */
window.app = new Vue({
    el: "#eventmie_app"
});
