text: /**
   * First we will load all of this project's JavaScript dependencies which
   * includes Vue and other libraries. It is a great starting point when
   * building robust, powerful web applications using Vue and Laravel.
   */
  
  require('./bootstrap')
  
  require('./parts/nav')
  
  
  window.Vue = require('vue')
  import Router from "vue-router"
  import Toasted from 'vue-toasted'
  
  
  // const files = require.context('./', true, /\.vue$/i);
  // files.keys().map(key => Vue.component(key.split('/').pop().split('.')[0], files(key).default));
  
  /**
   * Next, we will create a fresh Vue application instance and attach it to
   * the page. Then, you may begin adding vue-components to this application
   * or customize the JavaScript scaffolding to fit your unique needs.
   */
  
  // eslint-disable-next-line no-undef
  Vue.use(Toasted, {
      position: 'bottom-right',
      duration: 5000,
  })
  // eslint-disable-next-line no-undef
  Vue.use(Router)
  // eslint-disable-next-line no-undef
  Vue.mixin(require('./vue-mixins/base'))
  
  // eslint-disable-next-line no-undef, no-unused-vars
  const app = new Vue({
      router: new Router({
          mode: "history",
          base: process.env.BASE_URL,
          routes: [
              {
                  path: "/login",
                  name: "login",
                  component: require('./vue-components/Auth/LoginFormComponent.vue').default,
                  // Dynamic import cn not be used until webpack 5 release https://laravel-mix.com/docs/4.0/upgrade
                  //component: () => import(/* webpackChunkName: "login-form" */ './vue-components/Auth/LoginFormComponent.vue')
              },
              {
                  path: "/register",
                  name: "register",
                  component: require('./vue-components/Auth/RegisterFormComponent.vue').default,
              },
              {
                  path: "/password/reset",
                  name: "password.forgot",
                  component: require('./vue-components/Auth/EmailResetPasswordFormComponent.vue').default,
              },
              {
                  path: "/password/reset/:token",
                  name: "password.reset",
                  component: require('./vue-components/Auth/ResetPasswordFormComponent.vue').default,
              },
          ],
      }),
  }).$mount("#app")
  
  window.app = app
  
  