-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Js Error #71
Comments
希望能早点解决呀~ |
平时这个包在自用,抱歉刚刚看到这个问题,我没有用过你提到的插件,或者你试试整体导入呢?
这篇文章或许对你有帮助:Node.js 如何处理 ES6 模块 |
我使用vue-cli-plugin-electron-builder 有同样的问题 一个http请求而已,用superagent有点杀鸡用牛刀的感觉了
|
@greper 谢谢指教,空闲的时候,我升级一下吧,我打算不用外部依赖,直接用nodejs 的标准模块 https 解决了 |
我使用的是这个 electron + vue 插件: https://nklayman.github.io/vue-cli-plugin-electron-builder/
不是常见的 Electron-vue 插件.
我在主进程 background.js 里:
这样写报错.
截图如下:
The text was updated successfully, but these errors were encountered: