0
I’m following several tutorials as you can see below;
At 9 minutes and 45 seconds of video.
Using Vue.js in an Laravel application
At 8 minutes and 12 seconds of video.
1 - CRUD en LARAVEL & Vuejs - Webpack, Laravel Mix, NPM, Axios | Rimorsoft Online
At 4 minutes 36 seconds of video
I know you have to configure the vuejs and bootstrap files directly on the page, but I would like to configure in the file webpack.mix.js css and Javascript, because configuring in webpack.mix.js will be configured for the entire project;
I tried this way, but it didn’t work, I tried through the video tutorials, but also did not succeed, I accept suggestions;
mix.js(
'resources/assets/js/app.js',
''
'public/js')
.sass(
'resources/assets/sass/app.scss',
'../../../node_modules/bootstrap/dist/css/bootstrap.css'
'public/css');
I would recommend you do not use Vue integrated this way with the Laravel, I suggest you read this article which explains very well why.
– Vinicius Lourenço