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

// include vue common libraries, plugins and components
import "../vue_common.js";



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

// for using time
import moment from "moment-timezone";

window.moment = moment;

// add Vue-router with SEO friendly configurations
import VueRouter from "vue-router";
Vue.use(VueRouter);

import OrganiserEvent from "./components/OrganiserEvent.vue";
import VueMatchHeights from "vue-match-heights";
import Contact from "../../../resources/js/vendor/eventmie-pro/common_components/Contact.vue";
Vue.component("contact", Contact);

Vue.component("organiser-event", OrganiserEvent);

Vue.use(VueMatchHeights);

/**
 * 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"
});
