Skip to content

Commit a73dbb5

Browse files
authored
javascript: tabs npm yarn (#5931)
1 parent ee8c749 commit a73dbb5

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

src/platform-includes/getting-started-install/javascript.mdx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
1-
```bash {tabTitle: ESM}
2-
# Using yarn
1+
```bash {tabTitle: yarn}
32
yarn add @sentry/browser @sentry/tracing
4-
# Using npm
3+
```
4+
5+
```bash {tabTitle: npm}
56
npm install --save @sentry/browser @sentry/tracing
67
```
78

89
<Note>
910

10-
We also support alternate [installation methods](/platforms/javascript/install/).
11+
We also support alternate [installation methods](/platforms/javascript/install/) such as a CDN and lazy loading.
1112

1213
</Note>
1314

src/platforms/javascript/common/install/lazy-load-sentry.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Lazy-Loading Sentry
33
sidebar_order: 10
44
redirect_from:
55
- /platforms/javascript/loader/
6-
description: "Learn about lazy-loading the Javascript SDK."
6+
description: "Learn about lazy-loading the JavaScript SDK."
77
---
88

99
If you're concerned about the performance impact of loading the full SDK before any of the rest of your JavaScript, you have the option of lazy-loading it - either immediately after your other JavaScript or not until it's needed - by using our SDK _Loader_.

0 commit comments

Comments
 (0)