0๐
Try this in your app.js
//...
global.$ = global.jQuery = require('jquery');
//...
You may also remove defer attr
<script src="{{ asset('js/app.js') }}"></script>
- [Vuejs]-In VueJS, is there a way to make your binded styling react to the size change of the screen?
0๐
Try this :
Vue.component('example-component', require('./components/ExampleComponent.vue').default);
0๐
ok it works when you put defer to the js file as well!
<script src="{{ asset('js/app.js') }}" defer></script>
<script src="{{ asset('js/selectize_settings.js') }}" defer></script>
Source:stackexchange.com