@booji/vue
TypeScript icon, indicating that this package has built-in type declarations

1.3.4 • Public • Published

@booji/vue

Vue端SDK,本包在 @booji/browser 的基础上添加了Vue的集成,用于拦截Vue2.x 和 Vue3.x 的错误

使用示例

Vue2.x

import Vue from "vue"
import { init } from "@booji/vue"

init({
  Vue,
  dsn: "xxx",
  appKey: "xxx"
})

new Vue({
  // ...
})

Vue3.x

import { init } from "@booji/vue"

const app = createApp({ //... })

init({
  app,
  dsn: "xxx",
  appKey: "xxx"
})

Readme

Keywords

none

Package Sidebar

Install

npm i @booji/vue

Weekly Downloads

2

Version

1.3.4

License

BSD-3-Clause

Unpacked Size

77.8 kB

Total Files

9

Last publish

Collaborators

  • titan~