text: 
  
  require('./bootstrap');
  
  window.Vue = require('vue');
  import VueRouter from 'vue-router'
  
  Vue.use(VueRouter)
  
  import Myheader from './components/Myheader'
  import routes from './routes'
  
  import Swal from 'sweetalert2'
  window.Swal = Swal
  
  const Toast = Swal.mixin({
    toast: true,
    position: 'top-end',
    showConfirmButton: false,
    timer: 4000,
    timerProgressBar: true,
    didOpen: (toast) => {
      toast.addEventListener('mouseenter', Swal.stopTimer)
      toast.addEventListener('mouseleave', Swal.resumeTimer)
    }
  })
  window.Toast = Toast
  
  const router = new VueRouter({
      mode: 'history',
      routes // short for `routes: routes`
  })
  
  const app = new Vue({
      el: '#app',
      components: {
          Myheader
      },
      router
  });
  