React Redux 同构 Web 应用样板

React Redux 同构样板是一个基于 React 和 Redux 的 Web 应用程序样板。此仓库是一个持续更新的项目,包括以下特性:
- 开箱即用的国际化(i18n)支持
- 可用于服务器、浏览器或 Cordova 热加载
- 使用 React 路由器
- 支持 React 国际化
- 集成 Redux
- 支持 Docker
- 兼容 Cordova
- 使用 Webpack 构建
### 安装步骤
1. 克隆仓库:`git clone https://github.com/cusspvz/react-redux-universal-boilerplate my-webapp`
2. 进入目录:`cd my-webapp`
3. 安装依赖:`npm install`
### 开发与构建
- 启动开发服务器:`npm run dev`
- 构建 Docker 镜像:`docker run build -t your-username/my-webapp .`
- 推送 Docker 镜像:`docker push your-username/my-webapp`
- 构建 Cordova 项目:`npm run build-cordova`
### 待办事项
- 为 PGB 服务添加 zip 处理程序
zip
react-redux-universal-boilerplate-master.zip 预估大小:85个文件
folder
react-redux-universal-boilerplate-master 文件夹
file
.dockerignore 77B
file
.eslintrc 180B
folder
boilerplate 文件夹
file
browser.js 1KB
file
node.js 6KB
file
webpack.config.js 132B
file
start-development.js 2KB
folder
features 文件夹
folder
intl 文件夹
folder
utils 文件夹
file
load-locale.js 254B
file
valid-locale.js 132B
file
should-component-update.js 123B
file
polyfill.js 794B
folder
actions 文件夹
file
set-locale.js 646B
file
index.js 79B
file
init.js 1KB
file
README.md 49B
folder
middlewares 文件夹
file
store-set.js 303B
file
parser.js 1KB
file
provider.jsx 616B
folder
reducers 文件夹
file
messages.js 269B
file
locale.js 339B
file
index.js 161B
file
storage.js 143B
folder
auth-backend-rethink 文件夹
file
actions.js 4KB
folder
reducers 文件夹
file
tokens.js 411B
file
logged.js 406B
file
me.js 333B
file
index.js 181B
folder
init.js 文件夹
file
storage.js 110B
folder
styled 文件夹
file
provider.jsx 827B
file
index.js 1KB
folder
storage 文件夹
file
index.js 297B
folder
webpack 文件夹
file
react.js 522B
file
styles.js 222B
file
compression.js 930B
file
environment.staging.js 448B
file
target.cordova.js 598B
file
define.js 325B
file
provider.js 170B
file
csv.js 140B
file
environment.development.js 540B
file
target.browser.js 611B
file
i18n.js 147B
file
fonts.js 230B
file
sounds.js 364B
file
target.node.js 872B
file
environment.production.js 558B
file
json.js 143B
file
index.js 2KB
file
babel.js 186B
file
images.js 409B
file
cordova.js 1KB
folder
resources 文件夹
file
configure-store.js 1KB
file
cordova.html 792B
file
configure-reducers.js 240B
file
provider.jsx 402B
file
page-loader.js 326B
file
history.js 171B
file
env.config.js 3KB
file
yarn.lock 193KB
folder
src 文件夹
folder
pages 文件夹
folder
Error404 文件夹
file
Error404Page.less 100B
file
Error404Page.jsx 1KB
folder
Home 文件夹
file
HomePage.less 58B
file
HomePage.jsx 1KB
folder
locales 文件夹
file
pt.i18n.js 269B
file
en.i18n.js 262B
file
index.js 72B
folder
containers 文件夹
folder
App 文件夹
file
App.less 62B
file
App.jsx 1KB
file
webpack.config.js 161B
file
config.js 1KB
folder
components 文件夹
folder
Footer 文件夹
file
FooterComponent.jsx 99B
folder
Header 文件夹
file
HeaderComponent.jsx 661B
file
HeaderComponent.less 86B
file
routes.jsx 699B
folder
actions 文件夹
file
index.js 467B
file
provider.jsx 75B
folder
reducers 文件夹
file
index.js 195B
file
.babelrc 115B
file
Dockerfile 267B
file
.npmignore 121B
file
README.md 787B
file
docker-compose.yml 325B
file
.editorconfig 265B
file
.gitignore 113B
file
package.json 3KB
...
zip 文件大小:100.6KB