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