Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 14 additions & 2 deletions packages/nuxt/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ Sentry.init({

### 4. Server-side setup

Add an `sentry.client.config.ts` file to the root of your project:
Add a `sentry.server.config.ts` file to the root of your project:

```javascript
import * as Sentry from '@sentry/nuxt';
Expand Down Expand Up @@ -137,16 +137,28 @@ When adding `sentry.server.config.ts`, you might get an error like this:
for `@vercel/nft` to fix this. This will add the `hook.mjs` file to your build output
([Nitro issue here](https://github.com/unjs/nitro/issues/2703)).

For `npm`:

```json
"overrides": {
"@vercel/nft": "^0.27.4"
}
```

or in `yarn`:
for `yarn`:

```json
"resolutions": {
"@vercel/nft": "^0.27.4"
}
```

or for `pnpm`:

```json
"pnpm": {
"overrides": {
"@vercel/nft": "^0.27.4"
}
}
```
Loading