All Products
Search
Document Center

SuperApp:Install the Visual Studio Code extension for WindVane

Last Updated:Aug 29, 2024

Superapp allows you to use a Visual Studio Code extension to initialize, build, and package a WindVane scaffolding project, and then use Application Open Platform to publish a WindVane miniapp. This topic describes how to install the Visual Studio Code extension for WindVane.

Procedure

  1. Download the Visual Studio Code extension for WindVane.

  2. Open Visual Studio Code, click the Extensions icon in the activity bar, select Install from VSIX…, and then select the downloaded extension.截屏2022-11-29 下午4

  3. Click the image icon in the sidebar. In the EMAS Miniapp Develop Tool section, choose image > Extension Settings. Then, configure the parameters.

    截屏2023-02-08 15

    Parameter

    Description

    Build Path

    The directory where the build artifact is stored. Default value: dist.

    Env

    The development environment.

    Password

    The account password used to log on to Application Open Platform.

    Username

    The account username used to log on to Application Open Platform.

    Adb Linux

    The storage path of Android adb commands in the Linux system. Default value: ~/Library/Android/sdk/platform-tools.

    Adb Mac

    The storage path of Android adb commands in the macOS system. Default value: ~/Library/Android/sdk/platform-tools.

    Adb Windows

    The storage path of Android adb commands in the Windows system. Example: D:\sdk\platform-tools. If your computer runs Windows, you must specify this parameter. If you do not specify this parameter, the Android emulator cannot start as expected.

    Emulator Linux

    The storage path of Android emulator commands in the Linux system. Default value: ~/Library/Android/sdk/emulator.

    Emulator Mac

    The storage path of Android emulator commands in the macOS system. Default value: ~/Library/Android/sdk/emulator.

    Emulator Windows

    The storage path of Android emulator commands in the Windows system. Example: D:\sdk\emulator. If your computer runs Windows, you must specify this parameter. If you do not specify this parameter, the Android emulator cannot start as expected.

    Sdk Manager Linux

    The storage path of Android sdkmanager commands in the Linux system. Default value: ~/Library/Android/sdk/tools/bin.

    Sdk Manager Mac

    The storage path of Android sdkmanager commands in the macOS system. Default value: ~/Library/Android/sdk/tools/bin.

    Sdk Manager Windows

    The storage path of Android sdkmanager commands in the Windows system. Example: D:\sdk\tools\bin. If your computer runs Windows, you must specify this parameter. If you do not specify this parameter, the Android emulator cannot start as expected.

    Avd Manager Linux

    The storage path of Android avdmanager commands in the Linux system. Default value: ~/Library/Android/sdk/tools/bin.

    Avd Manager Mac

    The storage path of Android avdmanager commands in the macOS system. Default value: ~/Library/Android/sdk/tools/bin.

    Avd Manager Windows

    The storage path of Android sdkmanager commands in the Windows system. Example: D:\sdk\tools\bin. If your computer runs Windows, you must specify this parameter. If you do not specify this parameter, an Android emulator cannot be created.

    Npm

    The storage path of npm commands.

    Start Command

    The command for starting the miniapp. Default value: npm start.