mirror of
https://github.com/team-ide/teamide.git
synced 2026-04-27 11:35:49 +03:00
[GH-ISSUE #116] 服务端运行后无显示 #20
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/teamide-team-ide#20
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kknifes on GitHub (Jun 4, 2023).
Original GitHub issue: https://github.com/team-ide/teamide/issues/116
您好,想问一下为何服务端部署没有显示前端内容是为什么,按照部署方式go mod tidy->go build -ldflags "-s -X main.buildFlags=--isServer" .这条命令执行成功后,访问网页后是空白页面。能否给一个具体服务端部署的操作文档说明呢
@team-ide commented on GitHub (Jun 5, 2023):
你可以参照下 .github/workflows/release.yml 中打包步骤,先打包前端资源 将 前端资源放在 可执行程序同级目录 的 statics 文件夹下,静态资源目前并没有放在 可执行程序中,可以下载个 linux-server的包看下目录结构