Mini App Document Mini App Document
  • Start
  • Configuration
  • Framework
  • Custom Components
  • Basic ability
  • Configuration
  • Interface
  • FXML syntax
  • FXS syntax
API
Components
IDE
  • Developer
  • Operator
  • Start
  • Configuration
  • Framework
  • Custom Components
  • Basic ability
  • Configuration
  • Interface
  • FXML syntax
  • FXS syntax
API
Components
IDE
  • Developer
  • Operator
  • Start

    • MiniApp hosting environment
    • Mini App operation mechanism
    • MiniApp code structure
    • Mini App directory structure
    • Configuration

    • MiniApp Framework

    • Custom component
    • Basic ability

    • Guide
    • Start
    2022-08-05
    Directory

    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
    MiniApp code structure
    Global vs. page configuration

    ← MiniApp code structure Global vs. page configuration→

    Copyright © 2020-2024 Neuxnet
    • Follow System
    • Light Mode
    • Dark Mode
    • Reading Mode