Skip to content

a basic template using Vite with typescript. The template includes react query, tailwind and shadcn already installed. Need to create your own .env

Notifications You must be signed in to change notification settings

bidpivot/template-vite-react-typescript

Repository files navigation

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

About

a basic template using Vite with typescript. The template includes react query, tailwind and shadcn already installed. Need to create your own .env

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published