Astro Demo - Loading Environment Variables
This is a demo project to demonstrate loading environment variable from env file in the local environment.
Instructions
-
Clone this repository
git clone git@github.com:ansidev/astro-demo-loading-environment-variables.git
-
Install dependencies
pnpm install
-
Start development servers
pnpm run dev:en
and
pnpm run dev:vi
-
Open two URLs.
-
Check the difference of Region on home page between two sites.
Contact
Le Minh Tri @ansidev.
License
This source code is available under the MIT LICENSE.