React TypeScript template with Vite
This is a React + TypeScript boilerplate built with Vite.
What's inside?
Getting started
-
Install dependencies.
yarn install
-
Start dev server with hot reload at http://localhost:3000.
yarn run dev
Getting started with docker
-
Run building process with docker
docker build .
-
Start dev server at http://localhost:4000.
docker run -p 4000:80 container_id
Recommended VS Code extensions
Other commands
Lint commands
yarn run lint
Build commands
yarn run build
http://localhost:3000.
Run the app in production mode atyarn run serve
Test commands
- Run unit tests and watch
yarn run test:unit
- Run unit tests with coverage
yarn run test:unit:coverage
- Run e2e tests
yarn run test:e2e
License
This project is licensed under the MIT License.