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
• TypeScript From End-To...
👉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-fur...
nuxt.com/docs/guide/directory...
• Nuxt's runtimeConfig -...
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 Mistake Was A Real Problem
Пікірлер: 19