snipe-it/resources/assets/js/vue.js
Brady Wetherington 645bba96cd WIP: First stabs at getting Laravel Vite to work; no luck so far :(
Probably going to back out all the 'vite' stuff anyways :/
2023-02-21 19:35:37 -08:00

44 lines
1.2 KiB
JavaScript

/**
* First we will load all of this project's JavaScript dependencies which
* include Vue and Vue Resource. This gives a great starting point for
* building robust, powerful web applications using Vue and Laravel.
*/
import './bootstrap';
/**
* 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',
import './components/passport/Clients.vue' // ? .default
);
Vue.component(
'passport-authorized-clients',
import './components/passport/AuthorizedClients.vue' // ?).default
);
Vue.component(
'passport-personal-access-tokens',
import './components/passport/PersonalAccessTokens.vue' // ).default
);
Vue.component(
'importer',
import './components/importer/importer.vue' //).default
);
// This component has been removed and replaced with a Livewire implementation
// Vue.component(
// 'fieldset-default-values',
// require('./components/forms/asset-models/fieldset-default-values.vue').default
// );
// Commented out currently to avoid trying to load vue everywhere.
// const app = new Vue({
// el: '#app'
// });