Skip to content

Commit 437295c

Browse files
authored
ref(js): Add Source Maps wizard snippet to Vue sourcemaps page (#7874)
1 parent bf4a15c commit 437295c

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

src/platform-includes/sourcemaps/overview/javascript.vue.mdx

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Uploading Source Maps using Vite
1+
## Uploading Source Maps in a Vue Project
22

33
<Note>
44

@@ -8,10 +8,20 @@ If you are on an older version and you want to upload source maps we recommend u
88

99
</Note>
1010

11+
### Using the Sentry Wizard
12+
13+
The easiest and recommended way to configure uploading source maps is by using the Sentry Wizard:
14+
15+
<Include name="sourcemaps-wizard-instructions.mdx" />
16+
17+
If you want to configure source maps upload manually, follow the guide for your bundler or build tool below.
18+
19+
### Manual Setup with Vite
20+
1121
If you are using Vue, chances are good you are using Vite to bundle your project.
1222
You can use the Sentry Vite plugin to automatically create [releases](/product/releases/) and upload source maps to Sentry when bundling your app.
1323

14-
### Installation
24+
#### Installation
1525

1626
```bash {tabTitle:npm}
1727
npm install @sentry/vite-plugin --save-dev
@@ -21,7 +31,7 @@ npm install @sentry/vite-plugin --save-dev
2131
yarn add @sentry/vite-plugin --dev
2232
```
2333

24-
### Configuration
34+
#### Configuration
2535

2636
Learn more about configuring the plugin in our [Sentry Vite Plugin documentation](https://www.npmjs.com/package/@sentry/vite-plugin).
2737

@@ -69,11 +79,11 @@ We recommend running a production build to test your implementation.
6979

7080
</Note>
7181

72-
## Other Bundlers
82+
### Other Bundlers
7383

7484
In case you are using a bundler other than Vite to build your Vue project, we've compiled a list of guides on how to upload source maps to Sentry for the most popular JavaScript bundlers:
7585

76-
- <PlatformLink to="/sourcemaps/uploading/webpack/">webpack</PlatformLink>
86+
- <PlatformLink to="/sourcemaps/uploading/webpack/">Webpack</PlatformLink>
7787
- <PlatformLink to="/sourcemaps/uploading/typescript/">
7888
TypeScript (tsc)
7989
</PlatformLink>

0 commit comments

Comments
 (0)