Vite + React + Typescript + Eslint + Prettier + Tailwind
A starter for React with Typescript with the fast Vite and all static code testing with Eslint and formatting with Prettier.
Installation
Clone the repo and run pnpm install
or Run command
npx degit shubhamjain148/vite-template-react-ts-tailwind-eslint project-name
Start
After the successfull installation of the packages: pnpm run dev
Steps in Vscode
(works with better with this template)
- Install Eslint and prettier extension for vs code.
- Make Sure Both are enabled
- Make sure all packages are Installed. (Mostly Eslint and prettier in node_modules)
- Enable formatOnSave of vs code
- Open a .tsx file and check if the bottom right corners of vs code have Eslint and Prettier with a double tick
If Everything is Good Then It Should Work, but let me new if something else happens