We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
正常调试状态下是没有问题的,我的网络配置文件是在frontends-.env.development文件里 然后在常量里进行引用,例如: export default { // 版本号 version: appPackage.version,
// API地址 apiUrl: import.meta.env.VITE_API_URL, // websocket地址 webscoketApi: import.meta.env.VITE_GLOB_WS_URL, .......................
现在打成exe安装后,就读写不到env.development文件了,我在 electron 下的 config里,也尝试使用 dev.env.js prod.env.js配置,但都没有效果,exe访问接口依旧报错network error ,下面是我的项目结构:
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
No branches or pull requests
正常调试状态下是没有问题的,我的网络配置文件是在frontends-.env.development文件里
然后在常量里进行引用,例如:
export default {
// 版本号
version: appPackage.version,
现在打成exe安装后,就读写不到env.development文件了,我在 electron 下的 config里,也尝试使用 dev.env.js prod.env.js配置,但都没有效果,exe访问接口依旧报错network error ,下面是我的项目结构:
The text was updated successfully, but these errors were encountered: