README ¶
在前端 vite.config.ts 配置构建输出目录
build:{
outDir:"../resources"
}
- node: 构建前端静态资源文件到配置好的 resources 目录
cd frontend
npm run build
- golang: 编译Go执行文件
go build -ldflags="-s -w" -tags="prod"
Documentation ¶
There is no documentation for this package.
Click to show internal directories.
Click to hide internal directories.