@sdc-monitor/demo
v0.0.11
Published
<div align="center"> <a href="#" target="_blank"> <img src="https://i.loli.net/2021/07/28/EvPwd4NjVH3tBfO.jpg" alt="mito-logo" height="90"> </a> <p>A Lightweight SDK For Monitor Web</p>
Downloads
2
Maintainers
Readme
👋 Features
✔️ 🔨 monitor Xhr、Fetch、wx.request
✔️ 🔨 monitor console、wx.console
✔️ 🔨 monitor route change(hashroute、browser route、wx route)
✔️ 🔨 monitor code error、resource load error
✔️ 🔨 monitor click、wx:tab、wx:touchmove
✔️ 👌 rich hooks and options configuration doc
✔️ 👌 support web(>= IE8)@sdc-monitor/browser
✔️ 👌 support framework with Vue3、Vue2.6@sdc-monitor/vue、React@latest@sdc-monitor/react
✔️ 👌 support native wxmini、uni-app、remax framework etc @sdc-monitor/wx-mini
😎 Get Started
here is document.Build your first demo in 2 min or less:
browser
🛠️ Install
# using npm
npm i @sdc-monitor/browser
# using yarn
yarn add @sdc-monitor/browser
🥳 Usage
import { init } from '@sdc-monitor/browser'
const MitoInstance = init({
// set debug true to convenient debugger in dev,set false in prod
debug:true,
dsn: 'https://test.com/yourInterface',
maxBreadcrumbs: 100
})
more usage info of @sdc-monitor/browser
click here
🧐 Demo for SDK
here are some demo for sdk of collecting data
react-sdk-demo:Use @sdc-monitor/react in react@next
vue3-sdk-demo:Use @sdc-monitor/vue in Vue3.x
📞 issue&&contact
issue
welcome to raise issue, you can contact me on wx or email if you have some good suggestion(notes: mitojs)
Contact
wx:cjinhuo
send resume to email:[email protected]
bytedance introduce:(Hanghou、Beijing、Shanghai、Shenzhen、Guangzhou)
- hangzhou-jobs(web infrastructure、platform architecture etc.)