Add GSP project manifest and design layout
This commit is contained in:
28
examples/lottery/README.md
Normal file
28
examples/lottery/README.md
Normal 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
|
||||
```
|
||||
Reference in New Issue
Block a user