Skip to content

Commit

Permalink
doc: Nuxt 3 workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
harlan-zw authored Sep 11, 2023
1 parent 3cf3af9 commit 550c0e9
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,19 @@
[📖 **Release Notes**](./CHANGELOG.md)

## Nuxt 3

In Nuxt 3 you can make use of [Route Rules](https://nitro.unjs.io/guide/routing) to configure your proxies.

```
export default defineNuxtConfig({
routeRules: {
'/proxy/example': { proxy: 'https://example.com' },
'/proxy/**': { proxy: '/api/**' },
}
})
```

## Features

✓ Path rewrites
Expand Down

0 comments on commit 550c0e9

Please sign in to comment.