Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 432 Bytes

README.md

File metadata and controls

10 lines (7 loc) · 432 Bytes

React + TypeScript + Vite

This template already has react query V5, tailwind and shadcn_ui installed. Need to create your own .env. Format for env variables in vite is below

VITE_REACT_APP_PROJECT_URL="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXx" VITE_REACT_APP_SERVER_API_KEY="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"

this is how you pull the env variable into a file

const apiKey = import.meta.env.VITE_REACT_APP_PROJECT_URL