text: require('./bootstrap');
  
  // Import modules...
  import Vue from 'vue';
  import { App as InertiaApp, plugin as InertiaPlugin } from '@inertiajs/inertia-vue';
  import PortalVue from 'portal-vue';
  
  Vue.mixin({ methods: { route } });
  Vue.use(InertiaPlugin);
  Vue.use(PortalVue);
  
  const app = document.getElementById('app');
  
  import InertiaTable from 'inertia-table-vuejs'
  Vue.use(InertiaTable);
  
  import { InertiaProgress } from '@inertiajs/progress'
  
  InertiaProgress.init();
  
  Vue.filter('capitalize', function (value) {
      if (!value) return ''
      value = value.toString()
      return value.charAt(0).toUpperCase() + value.slice(1)
  });
  
  new Vue({
      render: (h) =>
          h(InertiaApp, {
              props: {
                  initialPage: JSON.parse(app.dataset.page),
                  resolveComponent: (name) => require(`./Pages/${name}`).default,
              },
          }),
  }).$mount(app);
  