Before you start working with this kit, it's essential to clean up any unnecessary files and folders:
- Remove unused routes in
appRoutes.ts
. - Delete unnecessary pages in the
pages
folder. - Clean up the
HomePageTemplate.tsx
file as required.
-
Use Yarn for package installation. If you inadvertently use
npm install
, make sure to delete theyarn.lock
file, and then proceed with the installation using npm. -
Create a
.env
file and duplicate it from.env.sample
. -
Start the development server by running
yarn dev
. -
If you encounter an error on the "/dashboard" route, consider commenting out the proxy setup part in the
vite.config.ts
file.
If you encounter a Husky disabled warning on your device, please run the following two commands in your terminal:
chmod ug+x .husky/*
chmod ug+x .git/hooks/*