In this lesson, we create a Stripe account and set it up in our project.
As long as we define the values in our runtimeConfig, Nuxt will overwrite them using any environment variables that we’ve set.
Also, Nuxt does not send these values to the browser unless we put them inside of the special public object. This helps prevent accidental leaking of app secrets!
useRuntimeConfig: https://nuxt.com/docs/api/composables/use-runtime-config
18 lessons
7 lessons
7 lessons
11 lessons
18 lessons
8 lessons
17 lessons