1.0.0 • Published 4 years ago
for-better-js v1.0.0
概述
实现前端JS错误监控,监控window.onerror,资源加载错误,跨域js错误,ajax请求错误以及捕获vue的errorHandler错误等上报,自定义sendError上报方法
开发
npm run build
: 进行本地构建npm run test
: 进行测试,打开http://localhost:3000/index.html,error日志将写在log.txt里
开发目录
src/ - 源码
dist/ - 根据webpack打包的文件
test/ - 测试目录
发布版本
相关文章
1.0.0
4 years ago