📜  Vue问题(你可能需要一个合适的加载器来处理这个文件类型,目前没有配置加载器来处理这个文件) - Javascript代码示例

📅  最后修改于: 2022-03-11 15:02:24.500000             🧑  作者: Mango

代码示例1
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', [
        //
    ]);