Replies: 1 comment 2 replies
-
Thanks for sharing! I've added an example to the docs. b69bccb That said, I would recommend using
Maybe I'll add this global definition by default. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Inform in the documentation how environment variables can be accessed in components.
In the documentation regarding multiple browser support you write:
Add a notice how to use env variables in client side by prefixing them with 'VITE_'.
So if you do...
...you can use it in client side like:
Beta Was this translation helpful? Give feedback.
All reactions