So I did everything like this video https://www.youtube.com/watch?v=UHSipe7pSac but after that I got this error :
:( "ERROR in ./resources/js/app.js 4:0-28 Module not found: Error: Can't resolve './vue/app'
this is my /resources/js/app.js file
require('./bootstrap');
import Vue from 'vue';
import App from './vue/App';
const app = new Vue(
{
el: '#app',
components: { app }
}
);
and this is my webpack.mix.js file
mix.js('resources/js/app.js', 'public/js').vue()
.postCss('resources/css/app.css', 'public/css', [
//
]);
App.vuefile?resources/js/vue/App.js?