This guide describes how to package, build, and publish your miniapp.
There are two ways to build and upload a version:
-
Publish via GoPay MiniApp Portal (Manual) (docs)
-
Publish via VSCode (Automatically)
We're recommending to follow this to simplify the process steps-
In VS Code, click “Publish MiniApp”
The extension fetches the latest version, updates it in package.json, and prepares it for release.
It then runs npm run build, compresses the build output, and uploads it automatically. -
Click the latest version.
-
Click "Release".
-
Choose the target app for release and click "OK"
-
Optionally, click Show Temporary Code to generate a QR code for testing your MiniApp.
Note: This QR will not work, to test your miniapp please refer here -
If the publish is successful, a confirmation message will appear
-