0.1.2 • Published 2 years ago
@caoyanxuan/sentry-sdk v0.1.2
#sentry-sdk
前端异常监控sdk
import Sentry from '@caoyanxuan/sentry-sdk';
const sentry = new Sentry('http://localhost:8888'); // 传入用于上报数据的img url
// mounted
sentry.start(); // 启动监控
#sentry-sdk
前端异常监控sdk
import Sentry from '@caoyanxuan/sentry-sdk';
const sentry = new Sentry('http://localhost:8888'); // 传入用于上报数据的img url
// mounted
sentry.start(); // 启动监控