This is the template I use for new React projects.
I recommend using degit to grab this repo, or you can click the "Use this template" button above.
degit nstgeorge/react-template my-project # grab the repo
cd my-project
npm install # install dependencies
npm run dev # start dev server
That should be it! Your page is at localhost:5173 by default. Feel free to use the few UI elements I have in here.
Check these links for documentation.
- React 18
- Vite w/ Babel (swapping to SWC in the future when Twin supports it)
- Twin
- TailwindCSS
- HeadlessUI
- Framer Motion
- React Router
- localforage