Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
dTub
Скачать

The BEST way to proxy your API in Nuxt

Автор: Alexander Lichter

Загружено: 2023-12-29

Просмотров: 31499

Описание:

➡️ Proxying routes to your back-end or third party APIs is a common practice! Over the last two years, various strategies came up in Nuxt. But not all of them work equally will. To figure out which two strategies are the recommended ones, we have a look at the four most common strategies, their shortcomings and which ones I would recommend to use!

Key points:
✅ How a successful proxy strategy looks like
🔢 All common strategies - From Vite's proxy to a Nitro proxy endpoint
‼️ Which strategies to use and how to implement them

Links:
📺 Nuxt vs. Nitro:    • Nuxt vs. Nitro - What does what in your App  
🔗 GH discussion around proxying: https://github.com/nuxt/nuxt/discussi...
📺 Common runtimeConfig mistakes:    • Nuxt's runtimeConfig - The most common mis...  
🔗 H3 JSDoc: https://www.jsdocs.io/package/h3
🔗 Code: https://github.com/manniL/alexander-l...

Don't forget to hit that "Subscribe" button, ring the notification bell and give a thumbs up!

🌐 Connect further:
Website: https://www.lichter.io
Twitter/X:   / thealexlichter  
Twitch:   / thealexlichter  

Chapters:
00:00 Intro
00:54 Discussion around proxying
01:30 Setup & demo app
02:57 Goals for our proxy solution
04:14 Strategy 1 - Vite's proxy
07:30 Strategy 2 - Nitro's devProxy
10:16 Strategy 3 - Proxy routeRule
13:30 Strategy 4 - Nitro proxy API endpoint
19:28 Summary and what to use

The BEST way to proxy your API in Nuxt

Поделиться в:

Доступные форматы для скачивания:

Скачать видео mp4

  • Информация по загрузке:

Скачать аудио mp3

Похожие видео

You are using useFetch WRONG! (I hope you don't)

You are using useFetch WRONG! (I hope you don't)

React Proxy | Простейшее исправление ошибок CORS

React Proxy | Простейшее исправление ошибок CORS

Integrating WebSockets in Nuxt and Nitro

Integrating WebSockets in Nuxt and Nitro

RAG | ВСЁ, что тебе нужно знать (+ 11 Продвинутых стратегий)

RAG | ВСЁ, что тебе нужно знать (+ 11 Продвинутых стратегий)

Программируем с ИИ в VS Code - БЕСПЛАТНО! Сможет каждый!

Программируем с ИИ в VS Code - БЕСПЛАТНО! Сможет каждый!

Why you should use useState()

Why you should use useState()

Что такое Rest API (http)? Soap? GraphQL? Websockets? RPC (gRPC, tRPC). Клиент - сервер. Вся теория

Что такое Rest API (http)? Soap? GraphQL? Websockets? RPC (gRPC, tRPC). Клиент - сервер. Вся теория

Google Antigravity: ЛУЧШАЯ AI IDE?

Google Antigravity: ЛУЧШАЯ AI IDE?

Nuxt's runtimeConfig - The most common mistake

Nuxt's runtimeConfig - The most common mistake

Organize your Composition API code (2k subscriber special)

Organize your Composition API code (2k subscriber special)

How to use Nuxt Layers to encapsulate your code

How to use Nuxt Layers to encapsulate your code

What is BFF?! (With Nuxt, Nitro and h3)

What is BFF?! (With Nuxt, Nitro and h3)

Как создать собственный VPN сервер Vless XHTTP с графической панелью 3x-ui и доменом.

Как создать собственный VPN сервер Vless XHTTP с графической панелью 3x-ui и доменом.

Как писать код с ИИ: советы от разработчика с 25-летним стажем

Как писать код с ИИ: советы от разработчика с 25-летним стажем

useAsyncData vs. useFetch 🤯

useAsyncData vs. useFetch 🤯

Caching in Nitro 💾

Caching in Nitro 💾

The missing compute offering is finally here, and it's really cool - Cloudflare Containers

The missing compute offering is finally here, and it's really cool - Cloudflare Containers

My Favorite Way To Build Forms With Validation In Nuxt

My Favorite Way To Build Forms With Validation In Nuxt

Nuxt vs. Nitro - What does what in your App

Nuxt vs. Nitro - What does what in your App

Loading Third Party Assets with Nuxt Scripts

Loading Third Party Assets with Nuxt Scripts

© 2025 dtub. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]