This boilerplate monorepo includes 3 configs type:
- React + TypeScript + Chakra UI + Vite
- React + TypeScript + Chakra UI + Vite + Vite PWA
- React + TypeScript + Chakra UI + Vite + Vitest (for testing)
- Click on "use this template" in GitHub
- Clone the repo locally
git clone <your SHH key>
- Grab all the files in the config you want and drag them to the root folder you just created
- Delete the other config folder
cd <your repo name>
npm install
- You're set!
The package of this repo update automatically on a regular basis. But if you want to make sure you're are using the latest package use:
NPM: npm update --save --include=dev
PNPM: pnpm up --latest
YARN: yarn upgrade --latest
In the src
forlder you'll find a theme
folder which includes all Chakra UI default theme.
These files already extend the theme, so you can modify directly in these files to create customs styles!!!
If you don't want to use that, simply delete the theme
folder and everything theme
on line 5 and 10 of main.tsx