reduxjs/redux-templates
关于
适用于 Vite、Create-React-App 等工具的官方 Redux 模板。
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- -1
- 15天
- -2
- 1个月
- -1
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Redux Project Templates
This monorepo contains the official Redux templates for Vite and Expo, plus small example apps used by the Redux docs.
For installation and setup instructions, see the README file in each folder.
Templates, in ./packages/:
vite-template-redux: Vite, with TypeScriptexpo-template-redux-typescript: Expo, with TypeScript
Docs examples, in ./examples/:
rtk-app-structure-example: A standalone example of the Redux Toolkit app structure used in the Redux Essentials tutorial
Each template and example is a plain project. Copy one with tiged:
npx tiged reduxjs/redux-templates/packages/vite-template-redux my-app
The older Create-React-App and React Native CLI templates were removed. Their last version is preserved at the archive/cra-and-rn-cli tag.
Contributing
This repo uses pnpm workspaces. Run pnpm install at the root, then work inside a package folder as you would in a standalone project. Each package has its own lint, format, type-check, and test scripts; the root scripts only cover the repo tooling in scripts/. Linting and formatting use oxlint and oxfmt.
pnpm test:templates copies each template into a temp folder the same way tiged would and runs its install, test, lint, and build scripts. On Windows, set TEMP to the long form of your temp folder first (for example export TEMP="$USERPROFILE\AppData\Local\Temp"); the default 8.3 short path breaks vite build.
探索相关项目
加载中…