Vuecli3.0 build error reporting problem

use vuecli3.0 configuration, do not report errors at run time, and package times is wrong
Building for production. ERROR Error: No loader specified

clipboard.png

then I added that configuration
chainWebpack: (config) = > {

    config.module.rule("scss").use("sass-loader").tap(options =>
        merge(options, {ncludePaths: [path.resolve(dirname, "node_modules")],});
    config.module.rule("vue").use("vue-loader")
    .loader("vue-loader")
    .tap(options => {
        return options;
    });
},

but I still made a mistake. Did I configure something less?

Aug.23,2021

Hello, landlord! You do have a slight problem with your configuration,

chainWebpack: (config) => {
    config.module.rule('scss').use('sass-loader').tap(options =>
        // ncludePaths -> includePaths dirname -> __dirname  
        merge(options, {ncludePaths: [path.resolve(dirname, 'node_modules')],});
    config.module.rule('vue').use('vue-loader')
    .loader('vue-loader')
    .tap(options => {
        return options;
    });
},
< hr >

if it is helpful, please click to adopt it, thank you ~

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b38b08-2c13b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b38b08-2c13b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?