Skip to content

Commit 550c0e9

Browse files
authored
doc: Nuxt 3 workaround
1 parent 3cf3af9 commit 550c0e9

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,19 @@
99
1010
[📖 **Release Notes**](./CHANGELOG.md)
1111

12+
## Nuxt 3
13+
14+
In Nuxt 3 you can make use of [Route Rules](https://nitro.unjs.io/guide/routing) to configure your proxies.
15+
16+
```
17+
export default defineNuxtConfig({
18+
routeRules: {
19+
'/proxy/example': { proxy: 'https://example.com' },
20+
'/proxy/**': { proxy: '/api/**' },
21+
}
22+
})
23+
```
24+
1225
## Features
1326

1427
✓ Path rewrites

0 commit comments

Comments
 (0)