All Products
Search
Document Center

SuperApp:Package, Build, and Publish

Last Updated:Jun 02, 2026

After the preview meets your expectations, package and build the MiniApp in VS Code, then publish it on the Application Open Platform.

1. Package and build

  1. In VS Code, click Publish MiniApp. The plugin fetches the current version information from the server and calculates a recommended version number.

  2. In the dialog that appears, select a version:

    • A recommended version (auto-calculated), or a custom version number.

    • Click Recommended Version to use the auto-generated version.

    • Click Use custom version to enter a version number manually.

  3. After you confirm the version, the plugin runs npm run build automatically, compresses the build output, and uploads it. A confirmation message displays the new version number when the upload succeeds.

  4. Select the target app for publishing, then click Confirm.

  5. After publishing, scan the QR code with the target app to preview the MiniApp, or go to the Application Open Platform to manage the release.

Note

The default build output directory is dist. To use a different path, update the setting in the plugin Settings.

image

Confirm version:

image

Enter version number:

image

Created successfully:

image

Select target App:

image

Preview MiniApp:

image

image

2. Publish MiniApp

Complete the publishing process on the Application Open Platform. For detailed steps, see Versions.

image