Vue3+Electron运行Electron时报require() of ES Module not supported.
一开始以为Electron版本太高不支持,重新安装依赖还是不行,就看到package.json中的:
"type": "module"
关于这个请参考其他大佬的回答,反正把这句话去掉了项目就能运行了
Vue3+Electron运行Electron时报require() of ES Module not supported.
一开始以为Electron版本太高不支持,重新安装依赖还是不行,就看到package.json中的:
关于这个请参考其他大佬的回答,反正把这句话去掉了项目就能运行了