An open API service indexing awesome lists of open source software.

https://github.com/iwebexpert/vite-react-swc-ts-vscode


https://github.com/iwebexpert/vite-react-swc-ts-vscode

Last synced: 12 months ago
JSON representation

Awesome Lists containing this project

README

          

# React TypeScript Visual Studio Code Template

A minimal React SWC Vite starter template with Prettier plugin integration and basic settings for Visual Studio Code.

## Feature

- ⚡️ Fast - Build tools based on vite.
- ⏱️ Small - Based on the smallest runnable build.
- 🎈 Prettier - Integrated Prettier to help you format the code.
- 😎 Reliable - Integrated eslint.

## Getting Started

```bash
npx degit iwebexpert/vite-react-swc-ts-vscode app

cd app

git init
```

### Prerequisites

- `npm` and `pnpm` should be installed.
- `git` should be installed (recommended v2.4.11 or higher)

### Available scripts

#### `pnpm dev`

Runs the app in development mode.
Open https://localhost:5173 to view it in the browser.

The page will automatically reload if you make changes to the code.
You will see the build errors and lint warnings in the console.

#### `pnpm build`

Builds the app for production to the `dist` folder.
It correctly bundles React in production mode and optimizes the build for the best performance.