A Turborepo starter template for a React Router v7 application.
Run the following command:
pnpm dlx create-turbo@latest -e https://github.com/thedammyking/turborepo-react-router-v7-starterYou can use other package managers like npm and yarn or just clone the repo and install the dependencies.
This Turborepo includes the following packages and apps:
docs: a React Router appweb: another React Router app@repo/ui: a stub component & utility library shared by bothwebanddocsapplications@repo/eslint-config: sharedeslintconfigurations@repo/typescript-config: sharedtsconfig.jsonused throughout the monorepo@repo/prettier-config: sharedprettierconfiguration@repo/stylelint-config: sharedstylelintconfiguration@repo/tailwind-config: shared Tailwind CSS configuration@repo/vite-config: shared Vite configuration
Each package and app is 100% TypeScript.
This Turborepo has some additional tools already setup for you:
- TypeScript for static type checking
- ESLint for code linting
- Prettier for code formatting
- Stylelint for CSS linting
- Tailwind CSS for styling
- Sass for CSS pre-processing
- Husky for Git hooks
- Lint-staged for running linters on Git staged files
- Commitlint for commit message linting
- Netlify for deployment
- Shadcn UI for UI components
- Vitest for testing
- Storybook for UI development, documentation and testing