1,开发环境一切正常
2,dist 文件从云服务器的nginx读取,一切正常
但是!!
我把 dist文件放到本地, 然后npm run tauri build ,安装后,进入app, 账户登录不了
出错的配置
"build": {
"beforeDevCommand": "npm run dev",
"beforeBuildCommand": "npm run build",
"devPath": "http://localhost:1420",开发环境正常
"distDir": "../dist" ,可以进入首页,但不能登录
},
可以登录的配置
"build": {
"beforeDevCommand": "npm run dev",
"beforeBuildCommand": "npm run build",
"devPath": "http://localhost:1420", 开发环境正常
"distDir": "http://ww.aa.com" 这样可以正常登录的配置
},