在electron-vue中页面出现Webpack ReferenceError: process is not defined
原文: https://github.com/SimulatedGREG/electron-vue/issues/871
解决方案:
.electron-vue/webpack.web.config.js 和 .electron-vue/webpack.renderer.config.js这两个文件
中的HtmlWebpackPlugin
改为
new HtmlWebpackPlugin({
filename: 'index.html',
template: path.resolve
原创
2020-06-22 11:18:57 ·
322 阅读 ·
0 评论