feat: 提交多个新UI组件模块spec和相关属性设定,包括卡片封装、渐变卡片、列式布局组件等,重写了readme.md,用于AI Coding
Some checks are pending
Call HTTPS API / build (push) Waiting to run
Some checks are pending
Call HTTPS API / build (push) Waiting to run
This commit is contained in:
31
AI-Coding/openspec-lite/modules/config-system.yaml
Normal file
31
AI-Coding/openspec-lite/modules/config-system.yaml
Normal file
@@ -0,0 +1,31 @@
|
||||
# Module Spec:config-system(src/config:配置聚合)
|
||||
|
||||
module:
|
||||
id: config-system
|
||||
name: 配置系统(src/config 聚合导出)
|
||||
type: core
|
||||
entrypoints:
|
||||
- src/config/index.js
|
||||
- src/config/cli.config.js
|
||||
- src/config/setting.config.js
|
||||
- src/config/theme.config.js
|
||||
- src/config/net.config.js
|
||||
|
||||
public_api:
|
||||
concept:
|
||||
- "src/config/index.js 将 4 个子配置聚合导出(cli/setting/theme/network)"
|
||||
- "部分配置会被 vue.config.js 以 Node 方式 require 读取,因此子配置文件应保持 Node 兼容(避免 window/document)"
|
||||
|
||||
key_index:
|
||||
- "authentication/loginInterception/routesWhiteList/supportVisit/rolesControl/isHashRouterMode"
|
||||
- "tokenName/tokenTableName/storage/recordRoute"
|
||||
- "title/titleSeparator/titleReverse"
|
||||
- "defaultOpeneds/uniqueOpened/openFirstMenu"
|
||||
- "layout/themeName/menuWidth/columnStyle/showProgressBar/showTabs/showTheme/showThemeSetting"
|
||||
- "baseURL/contentType/requestTimeout/successCode/statusName/messageName"
|
||||
|
||||
acceptance:
|
||||
- "运行构建/启动时,vue.config.js require config 不报错"
|
||||
|
||||
pitfalls:
|
||||
- "配置文件在 Node 侧执行:避免使用浏览器对象"
|
||||
Reference in New Issue
Block a user