P.RE.T.T.V is a fork of nrabhiram's Vite React Typescript Tailwind Template.
It uses Prettier, React TypeScript, Tailwind CSS, and Vite and is a template to be used as a starting point for new projects. It also includes the Prettier plugin for Tailwind CSS class auto-sorting, sample folders, and path aliases for better/cleaner imports.
Note: to keep the sample folders from being ignored, I have added some empty .gitkeep
files. You can delete them or add them to your .gitignore
file, but keep in mind that empty folders are not synced to GitHub
- Use
git clone https://github.com/himan7991/prettv your_project_name
to clone this repo to a new folder ‼️ IMPORTANT‼️ Navigate to the new folder and delete the .git folder- For Linux terminal: use
rm -rf .git
- For Windows terminal: use
rm -recursive -force .git
- For Windows CMD: use
del /s .git
- For Linux terminal: use
- Change the name and description in the
package.json
- If you intend to deploy this to GitHub pages, change the base value on
vite.config.ts
to your project repo name - (Optional) Run
git init
to initialize a new repository - Run
yarn install
to install all of the project's dependencies - Run
yarn upgrade
to upgrade all packages to their newest versions - Build the project for production with
yarn build
The project is available as open source under the MIT License terms.