npm run dev in laravel project webpack said . resources/js/app.js is missing . but i downloaded this project and i want run in localhost . there is no such file app.js . in resources folder
am i missing something here??
here is looks like webpack code
mix.js('resources/js/app.js','public/js')
.react()
.sass('resources/sass/app.scss', 'public/css')
.webpackConfig({
module: {
rules: [
{
test: /.(jpg|png)$/i
// type: 'asset/images'
}
]
}
});
mix.disableNotifications()
this is my first time i try to run laravel project locally
i did the php artisan serve command in another cmd . website running but it is stuck in loader
i wonder maybe i should run another cmd for webpack npm run dev command
i did but it gives 1 error that app.js missing
karole kasky is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.