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');
  
  window.Vue = require('vue');
  import moment from 'moment';
  import { Form, HasError, AlertError } from 'vform'
  
  import Gate from "./Gate";
  Vue.prototype.$gate = new Gate(window.user);
  
  
  import Swal from 'sweetalert2/dist/sweetalert2.js'
  import 'sweetalert2/src/sweetalert2.scss'
  
  window.Swal = Swal;
  
  const Toast = Swal.mixin({
      toast: true,
      position: 'top-end',
      showConfirmButton: false,
      timer: 3000
    });
  
  window.Toast = Toast;
  
  window.Form = Form;
  Vue.component(HasError.name, HasError)
  Vue.component(AlertError.name, AlertError)
  
  Vue.component('pagination', require('laravel-vue-pagination'));
  
  import VueRouter from 'vue-router'
  Vue.use(VueRouter)
  
  import VueProgressBar from 'vue-progressbar'
  Vue.use(VueProgressBar,{
      color: 'rgb(143, 255, 199)',
      failedColor: 'red',
      height: '3px'
  })
  
  let routes = [
      {path: '/ca-admin/escritorio', component: require('./components/Escritorio.vue').default},
      {path: '/ca-admin/mensaje', component: require('./components/Mensajes.vue').default},
      {path: '/ca-admin/desarrollador', component: require('./components/Desarrollador.vue').default},
      {path: '/ca-admin/perfil', component: require('./components/Perfil.vue').default},
      {path: '/ca-admin/usuarios', component: require('./components/Usuarios.vue').default},
  
      {path: '/ca-admin/lista-entradas', component: require('./components/ListaEntradas.vue').default},
      {path: '/ca-admin/mis-entradas', component: require('./components/MisEntradas.vue').default},
      {path: '/ca-admin/categorias', component: require('./components/Categorias.vue').default},
      {path: '/ca-admin/etiquetas', component: require('./components/Etiquetas.vue').default},
      
      {path: '/ca-admin/*', component: require('./components/NotFound.vue').default}
  ]
  
  const router = new VueRouter({
      mode: 'history',
      routes 
  })
  
  Vue.filter('upText', function(text){
      return text.charAt(0).toUpperCase() + text.slice(1)
  });
  
  Vue.filter('myDate', function(created){
      moment.locale("es");
      return moment(created).format('LLL');
  });
  
  window.Fire = new Vue();
  
  /**
   * Next, we will create a fresh Vue application instance and attach it to
   * the page. Then, you may begin adding components to this application
   * or customize the JavaScript scaffolding to fit your unique needs.
   */
  
  Vue.component(
      'passport-clients',
      require('./components/passport/Clients.vue').default
  );
  
  Vue.component(
      'passport-authorized-clients',
      require('./components/passport/AuthorizedClients.vue').default
  );
  
  Vue.component(
      'passport-personal-access-tokens',
      require('./components/passport/PersonalAccessTokens.vue').default
  );
  
  Vue.component(
      'not-found',
      require('./components/NotFound.vue').default
  );
  
  
  const app = new Vue({
      el: '#app',
      router,
      data:{
          search: '',
      },
      methods:{
          searchit: _.debounce(() => {
              Fire.$emit('searching');
          },100)
      }
  });
  