This is a demo project to demonstrate the issue with loading environment variables from env file using Vite.
-
Clone this repository
git clone [email protected]:ansidev/astro-loadenv-test.git
-
Install dependencies
pnpm install
-
Start development servers
pnpm run dev
-
You will see double log:
Site URL is http://astro.local:3000
in the console.
Le Minh Tri @ansidev.
This source code is available under the MIT LICENSE.