With latest update of vite and f7 I get undefined values of .env file variables.
@nolimits4web can you check please? thanks.
Anyone can help with this issue, thanks??
vite => v2.9.13
i just checked
works as expected
make sure:
the file (.env
) is inside src dir.
and variables prefixed with VITE_
VITE_SOME_KEY=123
1 Like
hi, as i know .env files must be on root folder. am i wrong?
if when you say root, you mean src
directory
then no, you’re not wrong.