npm run dev fails : ValidationError: Invalid options object

前端 未结 6 872
梦如初夏
梦如初夏 2020-12-30 19:35

Currently learning Vue js and express js through some tutorials, I am still newbie regarding these technologies.

Anyway following the tutorials I am building a smal

6条回答
  •  悲&欢浪女
    2020-12-30 20:00

    this works for me

    at webpack.config.js file change the CopyWebpackPlugin

    new CopyWebpackPlugin({
                    patterns: [
                      { from: "fonts/**", globOptions: { ignore: [`${relative(appPath, appResourcesFullPath)}/**`] } },
                      { from: "**/*.{jpg,png}", globOptions: { ignore: [`${relative(appPath, appResourcesFullPath)}/**`] } },
                    ]
                  }),
    

    hope I help

提交回复
热议问题