mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-26 22:19:41 -08:00
5ba2ec881c
* Begin work on vueifying the importer * Beginning work on migrating the importer to use a vue/components for future interactivity Update JS More importer work. Move to a vue based modal, begin handling of processing. Still need to port error messages. More importer work. Move to a vue based modal, begin handling of processing. Still need to port error messages. Update importer. Add error display. Fix modal, update vue-strap to vue2 More progress. Add select2 vue bits. * Move to querying the db to find importer matches. It scales better on large datasets. Fix select2 related issues. We were trying to initialize it twice, which led to the custom data being overwritten. * Better error handling on uploads and deletion of files. Restore progressbar on upload. * Add support for generic exception reporting if app.debug is enabled. * Handle Http 500 errors better. Display errors if debug is enabled. Assorted cleanups. * Fix codacy issues, remove unused methods. * Only bind vue to the importer for now. * Load vue for passport as well.
38 lines
997 B
JavaScript
38 lines
997 B
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.
|
|
*/
|
|
|
|
require('./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',
|
|
require('./components/passport/Clients.vue')
|
|
);
|
|
|
|
Vue.component(
|
|
'passport-authorized-clients',
|
|
require('./components/passport/AuthorizedClients.vue')
|
|
);
|
|
|
|
Vue.component(
|
|
'passport-personal-access-tokens',
|
|
require('./components/passport/PersonalAccessTokens.vue')
|
|
);
|
|
|
|
Vue.component(
|
|
'importer',
|
|
require('./components/importer/importer.vue')
|
|
);
|
|
|
|
// Commented out currently to avoid trying to load vue everywhere.
|
|
// const app = new Vue({
|
|
// el: '#app'
|
|
// });
|