Skip to content

Mini Program Development ​

Mini Program development in MiniDev Studio has two independent capability tracks — get them straight first:

TrackWhat it isFormUsage
Web UI components (minidev-components)m-* visual components (button, input, swiper…)Web Component tagsWrite <m-button> directly in your template — no import / registration
Bridge SDK (mini-sdk)JS APIs that call native capabilities (Toast, routing, storage, device…)mini.* functionsimport mini from 'mini-sdk', then call mini.showToast()

In one sentence: use m-* tags to build the UI, and mini.* functions to call capabilities. The two do not depend on each other.

Design & conventions ​

  • Design language: Material Design 3 (MD3), with a complete set of built-in color, radius, typography, and motion tokens.
  • Framework-agnostic: Vue, React, and plain HTML are written the same way; component event data is always on e.detail.
  • Size units: supports rpx (responsive pixels, 750rpx = screen width), converted automatically at compile time to adapt to different screens.

Components · Web UI ​

Bridge SDK ​

Advanced guides ​

Runtime model · Call style & environment detection · Error handling · Local mock · app.json configuration


If you're new, start with Getting Started.