-
Notifications
You must be signed in to change notification settings - Fork 61
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
TypeError: electron is not a function #45
Comments
Are kidding me? |
|
我把Vite2、vite-plugin-electron升级到vite3 可以用,但是我创建一个新的 vite3+vite-plugin-electron就不行😖 |
You can retry with |
You can use the following items electron-vite-vue Can you provide a minimal Deom? |
@denganjia |
vite 3.0.0 vite.config.ts,除了vue(),vueJsx(),其他的插件只要是function引入都会报错 |
vite版本问题,降低到2.9就不回有问题了,原因还不知道 |
@Balott |
@caoxiemeihao |
删掉package.json 中的 "type": "module"配置 |
可以的 😂,那要给插件提供 |
|
using Vite
3.0.3
The text was updated successfully, but these errors were encountered: