react-ts-vite-template icon indicating copy to clipboard operation
react-ts-vite-template copied to clipboard

React TypeScript template with Vite

React TypeScript template with Vite

This is a React + TypeScript boilerplate built with Vite.

What's inside?

Getting started

  1. Create the project.

    npx degit fabien-ml/react-ts-vite-template my-app
    
  2. Access the project directory.

    cd my-app
    
  3. Initialize a git repository.

    git init
    
  4. Install dependencies.

    npm install
    
  5. 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

Run the app in production mode at http://localhost:3000.

npm 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.