使用electron-vue-template开发完一个桌面应用后,怎么再打包一个web版本。文档里说的也就一段,没明白怎么搞,果然文档写得越短难度越高。
稀里糊涂打包出的web也是报一堆错,到底应该怎么打包才对
Uncaught ReferenceError: process is not defined
at 537 (vendor.js:2:1207090)
at a (runtime.js:1:147)
at 2963 (vendor.js:2:1072338)
at a (runtime.js:1:147)
at 7713 (vendor.js:2:36354)
at a (runtime.js:1:147)
at 1207 (vendor.js:2:114495)
at a (runtime.js:1:147)
at 6672 (web.js:1:59986)
at a (runtime.js:1:147)