feat: 初始化 Vue 前端工程与 embed 占位

This commit is contained in:
Nixevol
2026-09-30 05:50:37 +08:00
parent 5041a5bdd3
commit 857ba893fd
18 changed files with 1429 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
package web
import "io/fs"
// Dist 返回嵌入的前端静态资源。
// 默认(无 embeddist 标签)为 stub 占位,保证裸 go build 可通过;
// task build 使用 -tags embeddist 嵌入 pnpm build 产物。
func Dist() fs.FS {
return distFS
}