An opinionated vite template using React, TypeScript and utilities (linting, formatting, commit control)
Use the "Table of Contents" menu on the top-left corner to explore the list.
- Vite with React and TypeScript.
- Eslint + Prettier + plugins : For code linting and formating purposes.
- vite-ts-config-paths : to facilitate creating path alias in your tsconfig file.
- lint-staged + husky + tsc-files : To validate your codebase before commiting.
Use this repository as a Github template (or click the Use this template
button above).
Then clone the repository to your machine with a clean git history.
Install dependencies :
npm install
- Run the
prepare
script to setup husky. This will ensure that your commit are validated accordingly. - Check the
prettierrc
file to change the formatting settings according to your taste. - Clean the
package.json
file. Notably thename
,author
,version
,licence
fields. - Remove the
assets
folder, or simply thelogo.svg
file inside it. - Modify or delete the
LICENCE
file. - Cleanup this
README
file.
Feel free to create an issue in this repository if you encounter any issues or would like to give any feedback or suggestions !