Uploaded February 2024 | Updated November 2026, 1 day ago
This Vue.js issue with Nuxt and environmental variables with runTime config really tripped me up. In this video I look at a few ways to fix this and not get a hydration mismatch.
π Check out my last video on TypeScript end-to-end
youtu.be/SiOBwa2qNEw?si=zwT_Lvi8a4XNxp7n
πSign up for my mailing list and get neat stuff!
bit.ly/3Umk7sW
π Need some help with a project, level up your skills, React, Next, Vue, or Nuxt? Check out my 1-on-1 mentoring!
mentors.to/erik
Links:
nuxt.com/docs/guide/going-further/runtime-config
nuxt.com/docs/guide/directory-structure/env
youtu.be/_FYV5WfiWvs?si=9HZgcwGeg-hf2BaK
0:00 What is the problem
02:38 How to solve this problem with VITE_
03:41 Using runTimeConfig
05:10 The problem with runTimeConfig
06:13 How to solve the runTimeConfig problem
This Vue.js issue with Nuxt and environmental variables with runTime config really tripped me up. In this video I look at a few ways to fix this and not get a hydration mismatch.
π Check out my last video on TypeScript end-to-end
youtu.be/SiOBwa2qNEw?si=zwT_Lvi8a4XNxp7n
πSign up for my mailing list and get neat stuff!
bit.ly/3Umk7sW
π Need some help with a project, level up your skills, React, Next, Vue, or Nuxt? Check out my 1-on-1 mentoring!
mentors.to/erik
Links:
nuxt.com/docs/guide/going-further/runtime-config
nuxt.com/docs/guide/directory-structure/env
youtu.be/_FYV5WfiWvs?si=9HZgcwGeg-hf2BaK
0:00 What is the problem
02:38 How to solve this problem with VITE_
03:41 Using runTimeConfig
05:10 The problem with runTimeConfig
06:13 How to solve the runTimeConfig problem










