Nuxt's runtimeConfig - The most common mistake
Автор: Alexander Lichter
Загружено: 2023-12-15
Просмотров: 16318
🤯 Throughout my projects, consultancies and code reviews I came across lots of interesting findings - also with regards to Nuxt's runtimeConfig feature. Repeatedly I noticed ONE big mistake though which you might do at this very moment in your project. In this video, explain what it is, why you shouldn't do it and how to use runtimeConfig correctly.
Key points:
👀 The most common runtimeConfig mistake
🔍 Why it will break during runtime
✅ How to resolve the issue
Links:
🔗 12 Factor apps: https://12factor.net/
🔗 Basics around runtimeConfig: • Is Nuxt 3's runtimeConfig UNSAFE?!
🔗 Code: https://github.com/manniL/nuxt3-runti...
🔗 Docs PR for the mistake: https://github.com/nuxt/nuxt/pull/24612
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:52 Diving into the demo app
02:06 The actual mistake
03:20 No changes reflected - but why?
04:25 Solution and other non-working scenarios
05:40 Beyond creating content - Updating the docs!
06:23 Summary
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: