Invalid options in vue.config.js: “plugins“ is not allowed
问题
在vue.config.js 文件
配置插件引入时,报错: ERROR Invalid options in vue.config.js: "plugins" is not allowed。
解决方法
webpack 相关的配置需要写到 configureWebpack
里,不能直接写在外面。
在vue.config.js 文件
配置插件引入时,报错: ERROR Invalid options in vue.config.js: "plugins" is not allowed。
webpack 相关的配置需要写到 configureWebpack
里,不能直接写在外面。