mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-13 17:14:10 -08:00
completely kill vue
This commit is contained in:
parent
f93e7b91ff
commit
65cbba3c2e
|
@ -18,10 +18,7 @@
|
||||||
"jquery": "<3.6.0",
|
"jquery": "<3.6.0",
|
||||||
"laravel-mix": "^6.0.49",
|
"laravel-mix": "^6.0.49",
|
||||||
"lodash": "^4.17.20",
|
"lodash": "^4.17.20",
|
||||||
"postcss": "^8.4.5",
|
"postcss": "^8.4.5"
|
||||||
"vue": "2.4.4",
|
|
||||||
"vue-loader": "^15.9.7",
|
|
||||||
"vue-template-compiler": "2.4.4"
|
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fortawesome/fontawesome-free": "^6.4.2",
|
"@fortawesome/fontawesome-free": "^6.4.2",
|
||||||
|
@ -56,7 +53,6 @@
|
||||||
"sheetjs": "^2.0.0",
|
"sheetjs": "^2.0.0",
|
||||||
"tableexport.jquery.plugin": "1.28.0",
|
"tableexport.jquery.plugin": "1.28.0",
|
||||||
"tether": "^1.4.0",
|
"tether": "^1.4.0",
|
||||||
"vue-resource": "^1.5.2",
|
|
||||||
"webpack": "^5.89.0"
|
"webpack": "^5.89.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,45 +0,0 @@
|
||||||
|
|
||||||
/**
|
|
||||||
* 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').default
|
|
||||||
// );
|
|
||||||
|
|
||||||
// Vue.component(
|
|
||||||
// 'passport-authorized-clients',
|
|
||||||
// require('./components/passport/AuthorizedClients.vue').default
|
|
||||||
// );
|
|
||||||
|
|
||||||
// This component has been removed and replaced with a Livewire implementation
|
|
||||||
// Vue.component(
|
|
||||||
// 'passport-personal-access-tokens',
|
|
||||||
// require('./components/passport/PersonalAccessTokens.vue').default
|
|
||||||
// );
|
|
||||||
|
|
||||||
// This component has been removed and replaced with a Livewire implementation
|
|
||||||
// Vue.component(
|
|
||||||
// 'importer',
|
|
||||||
// require('./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'
|
|
||||||
// });
|
|
|
@ -34,9 +34,4 @@
|
||||||
@stop
|
@stop
|
||||||
|
|
||||||
@section('moar_scripts')
|
@section('moar_scripts')
|
||||||
<script nonce="{{ csrf_token() }}">
|
|
||||||
new Vue({
|
|
||||||
el: "#app",
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
@endsection
|
@endsection
|
||||||
|
|
|
@ -50,7 +50,6 @@ mix
|
||||||
mix
|
mix
|
||||||
.js(
|
.js(
|
||||||
[
|
[
|
||||||
"./resources/assets/js/vue.js", // require()s vue, and require()s bootstrap.js
|
|
||||||
"./resources/assets/js/snipeit.js", //this is the actual Snipe-IT JS
|
"./resources/assets/js/snipeit.js", //this is the actual Snipe-IT JS
|
||||||
"./resources/assets/js/snipeit_modals.js",
|
"./resources/assets/js/snipeit_modals.js",
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in a new issue