βΉοΈ RVTGB stands for React Vite TypeScript Generouted Biome.
This starter template is a minimal setup to get React working with:
- β‘ Vite
- π· TypeScript
- π Generouted β For the file-based routing
- π Biome β Code formatter and linter
Also some additional development tools:
- π€ Commitlint β Make sure the commit messages are well formatted
- πΆ Husky β A git hooks
- π Lint Staged β Running some scripts before committing
π‘ Check out this template instead if you prefer to use the same template without any routing library installed.
Clone this template using one of the following methods:
Click the "Use this template" button on the top of this page to create a new repository based on this template.
Disclosure: by using this repository as a template, there will be an attribution on your repository.
git clone https://github.com/up2dul/rvtgb.git
# or if you have SSH keys setup
git clone [email protected]:up2dul/rvtgb.gitdegit is a tool that allows you to quickly create a new repository based on an existing one.
npx degit up2dul/rvtgb my-new-projectRequires Node.js
>=18.x. And pnpm>=8.xis recommended as the package manager.
Make sure you have already in the project directory.
pnpm installStart the development server by running the following command, and the application will be available at http://localhost:5173.
pnpm dev- Absolute paths aliases with
~. Edit thevite.config.tsandtsconfig.jsonfiles if you want to change the aliases. - The
src/pagesdirectory is the default directory for the pages, check out the Generouted documentation for more details. - This project is using Biome as the code formatter and linter instead of ESLint with Prettier. Edit the
biome.jsonto change the configuration based on your needs, by checking out the Biome for more details.
