1.0.0 • Published 6 months ago

ka_monitor v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
6 months ago

ka_monitor

介绍

vue 开发的监测 npm 包

快速使用

安装 ka_monitor

npm install --save ka_monitor

组件加载时间

import mountTime from 'ka_monitor'
Vue.use(mountTime, {
  reportUrl: 'https://your-reporting-endpoint.com/plugin/mount',
})

页面加载指标的监测

import performance from 'ka_monitor'
Vue.use(performance, {
  reportUrl: 'https://your-reporting-endpoint.com/plugin/mount',
})

白屏指标的监测

import blankScreen from 'ka_monitor'
Vue.use(blankScreen, {
  reportUrl: 'https://your-reporting-endpoint.com/plugin/mount',
})

js 错误的监测

import jsError from 'ka_monitor'
Vue.use(jsError, {
  reportUrl: 'https://your-reporting-endpoint.com/plugin/mount',
})
1.0.0

6 months ago