Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lzm0x219/template-vite-react
⚡️ A minimal React Vite starter template.
https://github.com/lzm0x219/template-vite-react
eslint prettier react typescript vite
Last synced: 3 days ago
JSON representation
⚡️ A minimal React Vite starter template.
- Host: GitHub
- URL: https://github.com/lzm0x219/template-vite-react
- Owner: lzm0x219
- Created: 2021-07-10T13:44:22.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-01-09T22:42:41.000Z (11 days ago)
- Last Synced: 2025-01-11T16:51:47.733Z (10 days ago)
- Topics: eslint, prettier, react, typescript, vite
- Language: TypeScript
- Homepage:
- Size: 1.98 MB
- Stars: 171
- Watchers: 1
- Forks: 27
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- fucking-awesome-vite - template-vite-react - A minimal React Vite starter template. (Get Started / Templates)
- awesome-vite - template-vite-react - A minimal React Vite starter template. (Get Started / Templates)
README
# React Template(⚡️)
⚡️ A minimal React Vite starter template.
## Feature
- ⚡️ Fast - Build tools based on vite.
- 👻 Small - Based on the smallest runnable build.
- 💄 Prettier - Integrated Prettier to help you format the code.
- ✅ Safety - Https is enabled by default.
- 😎 Reliable - Integrated eslint and commitlint.
- 🤖 Intelligent - Integrated renovate to help you maintain the dependent version.## Preview
[![qekup8.png](https://s1.ax1x.com/2022/03/20/qekup8.png)](https://imgtu.com/i/qekup8)
## Getting Started
```bash
npx degit lzm0x219/template-vite-react myappcd myapp
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.The build is minified and the filenames include the hashes.
Your app is ready to be deployed.