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-appThe older Create-React-App and React Native CLI templates were removed. Their last version is preserved at the archive/cra-and-rn-cli tag.
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.