This 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
👉Sign up for my mailing list and get neat stuff!
👉 Need some help with a project, level up your skills, React, Next, Vue, or Nuxt? Check out my 1-on-1 mentoring!
Links:
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