DOTENV extension only works with webpack #16287
-
|
hello , I used to install dot env like this in quasar project like this - I created a nwe project with VITE + Quasar . and I installed at the same way . I saw the documentations and it is telling to I install like this now - and change this config - but didnt work , It showld explain better how to install it . and it worked , BUT with VITE does not works . |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
you don't need to use dotenv extension or dotenv library in vite, it's already baked in https://vitejs.dev/guide/env-and-mode.html#env-files |
Beta Was this translation helpful? Give feedback.
-
|
It worked , thanks |
Beta Was this translation helpful? Give feedback.
you don't need to use dotenv extension or dotenv library in vite, it's already baked in https://vitejs.dev/guide/env-and-mode.html#env-files