Vite React-Typescript CRA Replacement Starter Template
This article discusses a drop-in replacement for Create React App (CRA) that is powered by Vite. It highlights various features and additions that come with this replacement, such as the ability to import SVGs directly as React components, unit testing with Jest and React Testing Library, ESLint rules and Prettier configuration, and support for TailwindCSS. It also mentions the usage of degit for easy setup and provides an overview of the tech stack used in this replacement.
To install and use this drop-in replacement, follow these steps:
npm install -g degit
degit username/repo
cd repo
npm install
npm run dev
npm run build
npm run serve
This article showcases a drop-in replacement for Create React App that is powered by Vite. It provides several key features and additions, including the ability to import SVGs as React components, unit testing with Jest and React Testing Library, ESLint rules and Prettier configuration, support for TailwindCSS, and more. The installation process is straightforward and the article also provides an overview of the tech stack used in this replacement.