React TypeScript template with Vite
This is a React + TypeScript boilerplate built with Vite.
What's inside?
Getting started
-
Create the project.
npx degit fabien-ml/react-ts-vite-template my-app
-
Access the project directory.
cd my-app
-
Initialize a git repository.
git init
-
Install dependencies.
npm install
-
Start dev server with hot reload at http://localhost:3000.
npm run dev
Recommended VS Code extensions
Other commands
Lint commands
npm run lint
Build commands
npm run build
http://localhost:3000.
Run the app in production mode atnpm run serve
Test commands
- Run unit tests and watch
npm run test:unit
- Run unit tests with coverage
npm run test:unit:coverage
- Run e2e tests
npm run test:e2e
License
This project is licensed under the MIT License.