text: require("./bootstrap");
  
  window.Vue = require("vue").default;
  
  Vue.component(
      "example-component",
      require("./components/LandingPageComponent.vue").default
  );
  
  
  //VUE-ROUTER
  import router from "./Router";
  // V-FORM
  import { Form, HasError, AlertError } from "vform";
  window.Form = Form;
  Vue.component(HasError.name, HasError);
  Vue.component(AlertError.name, AlertError);
  //fire event
  window.Fire = new Vue();
  const app = new Vue({
      el: "#app",
      router,
      methods: {
          logout() {
              axios.get("/api/auth/logout")
                  .then(() =>  {
                      this.$router.push("/");
                      $("#user").show();
                      $("#admin").hide();
              }).catch(function(e) {});
          }
      }
  });
  