Skip to content
项目

anorudes/redux-easy-boilerplate

在 GitHub 查看

关于

简易的 React Redux 脚手架

网站与应用开发

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Redux Easy Universal Boilerplate

bitHound Overall Score


About

Really easy react universal boilerplate with many commentaries

How it works

See commentaries in code

Installation

Install rimraf: $ npm install rimraf -g
Install nodemon: $ npm install nodemon -g
Install concurrently: $ npm install -g concurrently

Start development

$ npm run api

$ npm run start

after: open 'http://localhost:3000' in browser

hint: use this mode for development

Start development (server-side-rendering)

$ npm run api

Don't forget install concurrently: npm install -g concurrently

$ npm run start-ssr or $ sudo npm run start-ssr

after: open 'http://localhost:3000' in browser

hint: use this mode for test server-side-rendering before build.
doesn't have hot reload, but you can mannualy refresh page in browser.

Start production

$ npm run build

$ npm run api:prod

$ npm run start:prod

after: open 'http://localhost' in browser

hint: use this mode for production on server (without server-side-rendering)

Start production (server-side-rendering)

$ npm run build

$ npm run api:prod

$ npm run start-ssr:prod

after: open 'http://localhost' in browser

hint: use this mode for production on server

Run tests

$ npm run test

How to add react-formal for forms?

See branch: feature/react-formal

License

MIT

探索相关项目

加载中…