Skip to content

docs(getting-started/nuxt): improve getting started for nuxt#7065

Merged
lgrammel merged 2 commits intovercel:mainfrom
albertlast:improveNuxtDoc
Jul 7, 2025
Merged

docs(getting-started/nuxt): improve getting started for nuxt#7065
lgrammel merged 2 commits intovercel:mainfrom
albertlast:improveNuxtDoc

Conversation

@albertlast
Copy link
Contributor

add NUXT_ namespace to the env name

Background

While getting intouch with mcp and ai sdk framework,
I'm stumble about the not optimal used env naming of the nuxt getting started part.
Since the env is only available at build but not at run time,
when not NUXT_ as prefixed is used.

So I added the NUXT_* prefix to the doc,
evade other followers to stumble about the point.

Official doc about this topic: https://nuxt.com/docs/guide/going-further/runtime-config#environment-variables

Keeping the note aboud the default env name unchanged.
In https://github.com/vercel/ai/blob/main/examples/nuxt-openai/.env.example the right name already used.

Summary

Change env name of nuxt getting started section to NUXT_*

@lgrammel lgrammel merged commit 7bd5b51 into vercel:main Jul 7, 2025
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants