@pagoda-tools/sentry
v1.0.2
Published
## 安装
Downloads
5
Readme
@pagoda-tools/sentry
安装
yarn add @pagoda-tools/sentry
基本用法
// vue2
// import Vue from 'vue';
import { createApp } from 'vue';
import App from './App.vue';
import { router } from './router';
import { PagodaSentry } from '@pagoda-tools/sentry';
new PagodaSentry({
app,
router,
// vue2
// Vue,
onEvent(e, data) {
console.log(e, data);
},
});