completely kill vue

This commit is contained in:
spencerrlongg 2023-12-11 18:09:22 -06:00
parent f93e7b91ff
commit 65cbba3c2e
4 changed files with 1 additions and 56 deletions

View file

@ -18,10 +18,7 @@
"jquery": "<3.6.0",
"laravel-mix": "^6.0.49",
"lodash": "^4.17.20",
"postcss": "^8.4.5",
"vue": "2.4.4",
"vue-loader": "^15.9.7",
"vue-template-compiler": "2.4.4"
"postcss": "^8.4.5"
},
"dependencies": {
"@fortawesome/fontawesome-free": "^6.4.2",
@ -56,7 +53,6 @@
"sheetjs": "^2.0.0",
"tableexport.jquery.plugin": "1.28.0",
"tether": "^1.4.0",
"vue-resource": "^1.5.2",
"webpack": "^5.89.0"
}
}

View file

@ -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'
// });

View file

@ -34,9 +34,4 @@
@stop
@section('moar_scripts')
<script nonce="{{ csrf_token() }}">
new Vue({
el: "#app",
});
</script>
@endsection

View file

@ -50,7 +50,6 @@ mix
mix
.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_modals.js",
],