一个极简的 React + Vite 模板,包含 Oxlint 规则和两个插件选项(Oxc 和 SWC),用于快速开发和热更新。

Stars

6

7 天增长

暂无数据

Fork 数

0

开放 Issue

0

开源协议

暂无数据

最近更新

2026-07-30

AI 仓库情报摘要
FR-AI / ANALYSIS

为什么值得关注

这是官方 Vite React 模板,利用现代 Rust 工具链(Oxc/SWC),并提供了配置好的 Oxlint 规则集。

适合谁使用

  • 启动新项目的 React 开发者
  • 探索 Vite 和快速热更新的开发者
  • 希望使用轻量模板并具备基础 lint 的用户
  • 尝试 Oxc 或 SWC 作为构建工具的用户

典型使用场景

  • 快速搭建新的 React 应用
  • 学习 Vite 及其插件系统
  • 测试 Oxc 或 SWC 进行 React 编译
  • 构建小型到中型前端项目

项目优势

  • 极简且专注的配置
  • 内置热模块替换(HMR)
  • 提供两种官方插件变体(Oxc 和 SWC)
  • 包含 Oxlint 配置以实现快速 lint

使用前须知

  • 默认未启用 React Compiler
  • 开箱不包含 TypeScript 集成
  • 缺少生产环境优化或高级配置

README 快速开始

React + Vite

This template provides a minimal setup to get React working in Vite with HMR and some Oxlint rules.

Currently, two official plugins are available:

React Compiler

The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see this documentation.

Expanding the Oxlint configuration

If you are developing a production application, we recommend using TypeScript with type-aware lint rules enabled. Check out the TS template for information on how to integrate TypeScript and Oxlint's TypeScript related rules in your project.

相关仓库与替代方案

根据分类、Topic 和编程语言匹配的相似项目。

react
精选
react GitHub avatar

react

React is a JavaScript library for building user interfaces with declarative, component-based, and cross-platform design.

Web 开发前端框架
246,741
tandpfun
精选
tandpfun GitHub avatar

wardrobe

A GPT‑image powered app that extracts individual garment cutouts from photos, organizes them into a digital wardrobe, and generates modeled outfit previews.

JavaScript
1,570
mshumer
精选
mshumer GitHub avatar

Claude-of-Duty

A browser-based first-person shooter built entirely with procedural generation and orchestrated AI agents, featuring 55k lines of Three.js/WebGL2 code and no art assets.

AI 与机器学习AI 智能体
1,234