Can anyone tell me how to use .env in this templete?
eeslom opened this issue · 2 comments
eeslom commented
I really tried to use .env all ways but I couldn't.
userquin commented
with a .env
file, all public
entries should be prefixed with VITE_
and use them via import.meta.env.VITE_XXX
: check https://vitejs.dev/guide/env-and-mode
islomurodov commented
OMG thanks. It works