This repository is ๐ battery packed with:
- โ๏ธ React 18
- โก๏ธ File router powered by TanStack Router
- โจ TypeScript
- โก๏ธ Stylish NextUI created by @vercel inc.
- ๐จ Tailwind CSS
- Vite - โก๏ธ Fast Refresh, HMR, and Bundling
- ๐ Vitest โ Configured for unit testing
- ๐ Absolute Import and Path Alias โ Import components using
@/
prefix - Pre-configured Code Formatters
- ๐ ESLint
- ๐ Prettier
- ๐ถ Husky & Lint Staged
- ๐ค Conventional Commit Lint
- ๐ท Github Actions โ Lint your code on PR
- ๐ MIT License
-
Use this repository as template
Disclosure: by using this repository as a template, there will be an attribution on your repository.
I'll appreciate if you do, so this template can be known by others too ๐
It is encouraged to use pnpm so the husky hooks can work properly.
pnpm install
You can start the server using this command:
pnpm dev
Open http://localhost:5173 with your browser to see the result. You can start editing the page by modifying src/routes/index.tsx
.
This starter is using conventional commits, it is mandatory to use it to commit changes.
npx vite preview --outDir ./html
pnpm build