Add GSP project manifest and design layout

This commit is contained in:
2026-05-06 19:06:32 +08:00
parent 69003c8152
commit 67a1bf2600
19 changed files with 288 additions and 31 deletions

View File

@@ -0,0 +1,28 @@
# Lottery GSP Example
这是一个 GSP 示例工程。
## 结构
```text
lottery/
gsp.manifest
design/
*.gsp
```
## 入口
```text
page.lottery.main
```
## 生成
从仓库根目录执行:
```powershell
.\bin\gsp.exe validate --root examples\lottery
.\bin\gsp.exe flatten page.lottery.main --root examples\lottery --depth -1
.\bin\gsp.exe graph page.lottery.main --root examples\lottery --format mermaid
```