去搭建好的Sentry上,新建一个项目
安装依赖包
@sentry/browser
1 | # Using yarn |
- 安装依赖包
sentry/integrations
1 | # Using yarn |
main.js
引入
1 | import Vue from 'vue' |
注意:
dsn
格式是:{PROTOCOL}://{PUBLIC_KEY}:{SECRET_KEY}@{HOST}/{PATH}{PROJECT_ID}
,别搞错。
去搭建好的Sentry上,新建一个项目
安装依赖包@sentry/browser
1 | # Using yarn |
sentry/integrations
1 | # Using yarn |
main.js
引入1 | import Vue from 'vue' |
注意:
dsn
格式是:{PROTOCOL}://{PUBLIC_KEY}:{SECRET_KEY}@{HOST}/{PATH}{PROJECT_ID}
,别搞错。