Skip to content

onError

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

createApp({
  setup() {
    onError((error: string) => {
      console.log("🚀 ~ onError ~ error:", error)
    })
  }
});