stage-structure.md 1.1 KB
Newer Older
1
# Application Configuration File Overview (Stage Model)
E
ester.zhou 已提交
2 3


E
ester.zhou 已提交
4
Each application project must have configuration files in its code directory. These configuration files provide basic application information for build tools, operating systems, and application markets.
E
ester.zhou 已提交
5 6


E
ester.zhou 已提交
7
In the code directory of an application project developed in stage model, there are two types of configuration files: one **app.json5** file and one or more **module.json5** files.
E
ester.zhou 已提交
8 9


E
ester.zhou 已提交
10
The [app.json5](app-configuration-file.md) file contains the following contents:
E
ester.zhou 已提交
11 12


E
ester.zhou 已提交
13
- Application-wide configuration, including the bundle name, developer, and version number.
E
ester.zhou 已提交
14

E
ester.zhou 已提交
15
- Device-specific configuration.
E
ester.zhou 已提交
16

E
ester.zhou 已提交
17

E
ester.zhou 已提交
18
The [module.json5](module-configuration-file.md) file contains the following contents:
E
ester.zhou 已提交
19 20


E
ester.zhou 已提交
21
- Basic module configuration, such as the name, type, description, and supported device types of the module.
E
ester.zhou 已提交
22

E
ester.zhou 已提交
23
- Information about the [application components](../application-models/stage-model-development-overview.md), including the descriptions of the UIAbility and ExtensionAbility components.
E
ester.zhou 已提交
24

E
ester.zhou 已提交
25
- Information about the permissions required during application running.