Files

32 lines
1.2 KiB
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Module Specconfig-systemsrc/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 侧执行:避免使用浏览器对象"