Skip to content

onLaunch

ts
import { createApp, onLaunch } from '@52css/mp-vue3'

createApp({
  setup() {
    onLaunch((option: WechatMiniprogram.App.LaunchShowOption) => {
      console.log("🚀 ~ onLaunch ~ option:", option)
    })
  }
});