1.0.0 • Published 1 year ago

@js-wtao/vue v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

@js-wtao/vue

⚠️ attention

If you want to import in weixin miniprograme,please replace @js-wtao/browser to @miotjs/wx-mini

🛠️ Install

# using npm
npm i @js-wtao/vue @js-wtao/browser
# using yarn
yarn add @js-wtao/vue @js-wtao/browser

🥳 Usage

Vue2.X

// main.js
import Vue from 'vue'
import { init } from '@js-wtao/browser'
import { vuePlugin } from '@js-wtao/vue'

// multiple instances
const MitoInstance = init({
  // set debug true to convenient debugger in dev,set false in prod
  debug:true,
  vue: Vue,
  dsn: 'https://test.com/yourInterface',
  maxBreadcrumbs: 100
},[vuePlugin])

Vue3.x

// main.ts
import { createApp } from 'vue'
import App from './App.vue'
import { init } from "@js-wtao/browser";
import { vuePlugin } from "@js-wtao/vue";

const app = createApp(App)
const MitoInstance = init({
  // set debug true to convenient debugger in dev,set false in prod
  debug:true,
  vue: app,
  dsn: 'https://test.com/yourInterface',
  maxBreadcrumbs: 100
},[vuePlugin])
1.0.0

1 year ago

4.0.0

1 year ago

5.0.0

1 year ago

3.0.2

1 year ago

3.0.1

1 year ago

3.0.0

1 year ago

2.0.0

1 year ago