@@ -18,7 +18,7 @@ Select which Sentry features you'd like to install in addition to Error Monitori
18
18
19
19
<OnboardingOptionButtons options = { [" error-monitoring" , " performance" , " session-replay" ]} />
20
20
21
- Sentry captures data by using an SDK within your application’ s runtime.
21
+ Sentry captures data by using an SDK within your application' s runtime.
22
22
23
23
``` bash {tabTitle:npm}
24
24
npm install @sentry/vue --save
@@ -38,9 +38,7 @@ Configuration should happen as early as possible in your application's lifecycle
38
38
39
39
To initialize Sentry in your Vue application, add the following code snippet to your ` main.js ` :
40
40
41
- ### Vue 3
42
-
43
- ``` javascript {filename:main.js} {"onboardingOptions": {"performance": "16, 19-25", "session-replay": "17, 29-35"}}
41
+ ``` javascript {tabTitle:Vue 3} {filename:main.js} {"onboardingOptions": {"performance": "16, 19-25", "session-replay": "17, 29-35"}}
44
42
import { createApp } from " vue" ;
45
43
import { createRouter } from " vue-router" ;
46
44
import * as Sentry from " @sentry/vue" ;
@@ -82,9 +80,7 @@ app.use(router);
82
80
app .mount (" #app" );
83
81
```
84
82
85
- ### Vue 2
86
-
87
- ``` javascript {filename:main.js} {"onboardingOptions": {"performance": "15, 18-24", "session-replay": "16, 28-34"}}
83
+ ``` javascript {tabTitle:Vue 2} {filename:main.js} {"onboardingOptions": {"performance": "15, 18-24", "session-replay": "16, 28-34"}}
88
84
import Vue from " vue" ;
89
85
import Router from " vue-router" ;
90
86
import * as Sentry from " @sentry/vue" ;
0 commit comments