Nodejs read env file
xxxxxxxxxx
npm install dotenv --save-dev
Axios read env file
Create Vite app
xxxxxxxxxx
# 1. Create file structure
yarn create vite # or
npm create vite
# 2. Change directory into the created app
cd path/to/project # replace with your path
# 3. Install dependencies
yarn install # or
npm install
# 4. Run the app in development environment
vite # or
npm run dev
# 5. Build your app
# Prepend `tsc &&` if it's in TypeScript
vite build # or
npm run build