UNPKG

cra-template-redux

Version:

The official Redux+JS template for Create React App.

37 lines (22 loc) 1.34 kB
# cra-template-redux ![build status](https://img.shields.io/github/workflow/status/reduxjs/cra-template-redux/Tests/master?style=flat-square) [![npm version](https://img.shields.io/npm/v/cra-template-redux.svg?style=flat-square)](https://www.npmjs.com/package/cra-template-redux) [![npm downloads](https://img.shields.io/npm/dm/cra-template-redux.svg?style=flat-square)](https://www.npmjs.com/package/cra-template-redux) The official Redux+JS template for [Create React App](https://github.com/facebook/create-react-app) ## Usage To use this template within your project, add `--template redux` when creating a new app. For example: ```sh npx create-react-app my-app --template redux # or yarn create react-app my-app --template redux ``` ## TypeScript Use [cra-template-redux-typescript](https://github.com/reduxjs/cra-template-redux-typescript), which is based on this template ```sh npx create-react-app my-app --template redux-typescript ``` Cloning this repo pulls down the Redux template only; not a bundled and configured Create React App. For more information, please refer to: - [Getting Started](https://create-react-app.dev/docs/getting-started) – How to create a new app. - [User Guide](https://create-react-app.dev) – How to develop apps bootstrapped with Create React App.