how to use import.meta.env.[key] in index.html #3681
Answered
by
jclaveau
yangmi0829
asked this question in
Q&A
-
i want to define variable in .env file, and use in index.html |
Beta Was this translation helpful? Give feedback.
Answered by
jclaveau
Feb 6, 2024
Replies: 1 comment 3 replies
-
This is now supported using |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In my case it works perfectly:
Did you follow the docs?