Skip to content

项目/组件目录结构 以及 redfile.json 规范 #3

Open
@wssgcg1213

Description

@wssgcg1213

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions