laravel - webpack.mix.js Not mix?

PHOTO EMBED

Mon Sep 25 2023 19:24:48 GMT+0000 (Coordinated Universal Time)

Saved by @oday #javascript

webpack.mix.js
اضف .vue()    عمل تغير فقط اضف ----
----------------------------------------------------------







const mix = require('laravel-mix');

/*
 |--------------------------------------------------------------------------
 | Mix Asset Management
 |--------------------------------------------------------------------------
 |
 | Mix provides a clean, fluent API for defining some Webpack build steps
 | for your Laravel applications. By default, we are compiling the CSS
 | file for the application as well as bundling up all the JS files.
 |
 */

mix.js('resources/js/app.js', 'public/js').vue()
    .postCss('resources/css/app.css', 'public/css', [
        //
    ]);
content_copyCOPY

https://stackoverflow.com/questions/65607153/how-to-fix-the-error-you-may-need-an-appropriate-loader-to-handle-this-file-typ