This commit is contained in:
2025-02-26 00:46:53 +08:00
parent 7403e09ea3
commit 950a4cd905
6 changed files with 51 additions and 20 deletions

24
README.md Normal file
View File

@@ -0,0 +1,24 @@
# use-config
使用`app.config.json5`作为配置文件。
## schema类型模版
```json
{
"$schema": "../schema.json",
"app": {
"type": "inline-app",
"port": 14000,
"remote": {
"host": "localhost",
"path": "/api/router"
},
"micro": {
"name": "micro-app",
"port": 3001
}
}
}
```