All Products
Search
Document Center

SuperApp:Develop WindVane MiniApps

Last Updated:Sep 19, 2025

The SuperApp solution provides a Visual Studio Code extension for initializing, building, and packaging WindVane scaffolding projects, with publishing managed through the Application Open Platform. This guide walks you through the steps to quickly develop a WindVane MiniApp using VS Code.

1. Prerequisites

Before starting development, ensure the following preparations are completed:

Note
  • WindVane MiniApps can only be loaded and run in a native app that has successfully integrated the MiniApp container.

  • Before developing a MiniApp, ensure that at least one app has been created and configured as the deployment host (also known as the carrier app).

2. Process Overview

The complete development process for UniApp MiniApps involves two roles: Native App Developer and UniApp MiniApp Developer. This guide is primarily intended for UniApp MiniApp Developers, covering the full lifecycle from project creation to release.

Role

Responsibilities

Native App Developer

Integrates SuperApp solutions (e.g., MiniApp container) into the native app

UniApp MiniApp Developer

Uses the scaffolding tool to quickly create projects and completes MiniApp development, debugging, and publishing

The basic operation process is as follows:image

3. Detailed Steps

Step 1: Install the VS Code Plugin

Download and install the WindVane MiniApp VS Code Plugin to gain unified support for project initialization, debugging, building, and publishing, see Install the VS Code Plugin.

image

Step 2: Initialize Project with Scaffolding

Use the WindVane scaffolding tool in VS Code to quickly generate a MiniApp project. This automatically creates a standard directory structure and configuration files based on predefined templates.see Use the MiniApp Project Template.

image

Step 3: Link to Application Platform

  1. Log in to the SuperApp Open Platform and create a new application to serve as the management and publishing entity for your MiniApp. In VS Code, associate your local MiniApp project with this platform application.see Bind your MiniApp project to SuperApp.

  2. After linking, your project will be connected to the Open Platform, enabling subsequent operations such as build packaging and publishing.

image

Step 4: Preview and Debug

Preview and debug your MiniApp directly within VS Code, with support for hot reloading and breakpoint debugging. Alternatively, use the WindVane MiniApp plugin to test on Android/iOS simulators. see Preview and debug a MiniApp.

image

Step 5: Build and Submit for Publishing

Once the preview meets expectations, use the VS Code plugin to package and build the project. After a successful build, submit the package to the Open Platform for review and publishing.see Package, Build, and Publish.

image

Step 6: Gradual Rollout

For approved versions, create a gray-scale release task on the Open Platform to gradually roll out the update to a targeted user group for validation.see Publish a version.

image

Step 7: Officially Release

After successful gray-scale verification, publish the MiniApp version to all users via the Application Open Platform.see Publish a version.

image

Step 8: Scan to Preview (Verify Deployment)

After the MiniApp is live, the platform generates a dedicated QR code. Use the scanning feature in SuperApp to scan this code and verify the running behavior of the MiniApp.

image