Quiz: Meta Data, Config, and SEO
Test your understanding of what you have learned in this section.
1
How do we add environment variables that we want to use on the client side?
A)
In the nuxt.config.ts
file, add them directly inside runtimeConfig
.
B)
Add them to any page or component, they will be auto-imported into any other file.
C)
In the nuxt.config.ts
file, add them to a public
object inside of runtimeConfig
.
D)
Add them directly inside defineNuxtConfig
.
Question 1 of 50 attempted
Get hands-on with 1400+ tech skills courses.