fahmihidayah / react-js-template

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

License:MIT License


Languages

Language:CSS 80.9%Language:TypeScript 17.7%Language:JavaScript 1.0%Language:HTML 0.3%Language:Shell 0.0%