## redfile.json 该文件用来描述整个项目的基本信息 ## 选项 | 选项名 | 可选项 | 默认值 | 描述 | 参数类型 | | ------- | ----------------- | ------- | ---------------------------------------- | ------- | | type | project/component | project | 描述项目类型,project 表示独立项目,component 表示可复用UI组件 | string | | spa | true/false | false | 如果type为project,该选项表示项目的类型,true 为单页应用(SPA),false 表示传统多页面应用 | boolean | | options | {} | N/A | 传递给编译器的选项,详细见下表 | object | | author | | | 项目作者信息 | string |
redfile.json
该文件用来描述整个项目的基本信息
选项