项目
在 GitHub 查看
luandro/hapi-universal-redux
关于
DEPRECATED: Create an universal React and Redux app in less than 5 minutes!
网站与应用开发可以做什么
- Fully automated with npm run scripts
- Server hot reloads with webpack hmr
- Webpack for watch + production builds
- React + Router on the client and server
实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文
DEPRECATED: check out alternatives to building a server-side rendered React app:
Isomorphic starterkit with server-side React rendering using npm, webpack, webpack-dev-server, react-transform-hmr, hapi, babel, react, react-router redux, redux-devtools-extension, react-router-redux, radium.

Features
- Fully automated with npm run scripts
- Server hot reloads with webpack hmr
- Webpack for watch + production builds
- React + Router on the client and server
- React-Transform for instant client updates
- Babel automatically compiles ES6 + ES7
- Redux and Redux-DevTools-Extension for managing app state
- Radium for advanced inline styling
It just works out-of-the-box.
Installation
Make sure you're using Node >= 4.0.0.
git clone https://github.com/luandro/hapi-universal-redux.git
cd hapi-universal-redux
npm install
npm run dev # start Hapi server and webpack-dev-server hot server
# production build and run
npm run production
# or
NODE_ENV=production npm run build
NODE_ENV=production npm run start
Usage
Run npm run dev in your terminal and play with views/Main.js to get a feel of
the server-side rendering and client-side hot updates.
License
MIT license. Copyright © 2016, Luandro. All rights reserved.
探索相关项目
加载中…