manage api keys in vercel with stripe by touch .env.local in pwd root.
example
# Stripe keys
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=pk_12345
STRIPE_SECRET_KEY=sk_12345
NEXT_PUBLIC_ prefix automatically exposes this variable to the browser.
next.js will insert the value for these into the publicly viewable source code at build/render time.
Add .local.env to .gitignore
manage api keys in vercel with stripe by
touch .env.localin pwd root.example
NEXT_PUBLIC_ prefix automatically exposes this variable to the browser.
next.js will insert the value for these into the publicly viewable source code at build/render time.
Add .local.env to .gitignore