Join our community

Get access to the complete guide to developing and deploying fast, production-ready Nuxt apps.

7-7 Setting up Stripe

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