Mini App directory structure
# Mini App directory structure
# The Mini App contains an app that describes the overall program and multiple pages that describe their respective pages.
The main body of a Mini App consists of three files that must be placed in the root directory of the project, as follows:
| File | Required | Role |
|---|---|---|
| app.js | Yes | The MiniApp Logic |
| app.json | Yes | The MiniApp Common Configuration |
| app.ftss | No | MiniApp Common Style Sheet |
A Mini App page consists of four files, namely:
| File Type | Required | Role |
|---|---|---|
| js | Yes | Page logic |
| fxml | Yes | Page Structure |
| json | No | The page configuration |
| ftss | No | Page style sheet |
note
To make it easier for developers to reduce configuration items, the four files on the description page must have the same path and file name.
Last update: 2022/08/16, 21:24:25