Basic Configuration

MarsApp frontend supports mainstream frameworks such as React and Vue, ensuring a good experience across various mobile devices. During development, if communication with RelayX is required, refer to the API interface descriptions.

Each MarsApp should have a unique icon named icon.png, with a recommended size of 192x192 pixels. After packaging, this icon should be placed in the project root directory to ensure the MarsApp icon displays correctly. The icon.png naming cannot be changed arbitrarily; if it is missing or named incorrectly, an exception will be prompted when publishing MarsApp.

Development must follow these project specifications:

1

File Size

Ensure each packaged file (including resource files) is smaller than 4MB, and the entire ZIP package size does not exceed 10MB, to avoid affecting MarsApp's publishing and updating capabilities. MarsX Network will continue to expand network performance to support larger MarsApps in the future.

2

File Naming

Each packaged file name can only contain letters (a-z, A-Z), numbers (0-9), underscores (_), hyphens (-), and dots (.), and must comply with this naming convention.

3

Resource Paths

Use relative paths when referencing local resources in the project, as absolute paths may cause resources to fail loading correctly.

4

Function Limitations

Features that download resources to local files are disabled in MarsX.

circle-check

Last updated