You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Aareksio
changed the title
RuntimeConfig typescript hint displays incorrect path
RuntimeConfig does not display proper environment variable hint when already using UPPER_SNAKE_CASE
Sep 16, 2023
It seems to be an issue with the UpperSnakeCase type. I think i've figured out where the problem comes from. I'll open a PR to fix and add some more tests.
I'm not quite sure how to run these tests. None of the test scripts in package.json seem to run them and I only see ./fixtures/basic being setup, not ./fixtures/basic-test?
Environment
Reproduction
https://stackblitz.com/edit/github-uezcgs?file=nuxt.config.ts
Describe the bug
Hint reads:
Should be:
Additional context
Environment variable
NUXT_PUBLIC_APP_NAMES
is properly respected. The issue concerns the documentation exclusively.Logs
No response
The text was updated successfully, but these errors were encountered: