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
ThreeJS is used in the project, and the interface cannot be displayed after packaging. #31
Comments
Install node-gyp as administrator:yarn add -g node-gyp@7.1.0 |
I just submitted an update, you can redownload the code, no need: yarn electron:rebuild |
没法帮你,应用打包贼慢不知道为啥,打包后打开贼卡;从打包到能点击应用十分钟过去了,打开等十分钟蹦出来个控制台失去链接。太耗时间了,你去看下 |
国产的?我以为是国外团队维护的呢,打包慢可能是因为打包所需的东西下载慢,你可以设置下代理:
应该不是lingo3d-vue的问题,之前没使用vite-plugin-electron可以顺利打包,帮忙再排查下呗。 |
你要么试下 https://github.com/electron-vite/electron-vite-boilerplate 这个模板吧,这个还保留最原始的样子 |
现在的问题就是打包后白屏,啥也不显示 |
这个模板我尝试过了,也一样的问题。 |
这个模板我测试一下,之前测试的不是这个。 |
试下新插件 https://github.com/electron-vite/vite-electron-plugin 能无缝兼容各种 Node.js 情况 |
ThreeJS is used in the project, and the interface cannot be displayed after packaging.
lingo3D is a 3D development framework based on ThreeJS package
project address: https://github.com/robomentor/Electron_Threejs_Template
The development environment can be used normally, but the interface cannot be displayed after packaging, and there is no related error message.
How to use:
yarn && yarn electron:rebuild
development mode:yarn electron:dev
release mode:yarn electron:build && yarn electron:win64
or
release mode:yarn electron:build && yarn electron:win32
or
release mode:yarn electron:build && yarn electron:mac
The text was updated successfully, but these errors were encountered: