Skip to content

react-china/forum-frontend

Repository files navigation

Unmaintained

Sorry everyone, but we are no longer maintaining this project.

React China new Forum Frontend

Build Status

Gitter chat GitHub license

dependencies devDependency peerDependency


React 中文社区 React.js 版前端界面

状态

正在初始化项目

计划

  • 完成 JSX 基本开发框架
  • 梳理 Discourse API
  • 制定 Actions, Store, Router 规范
  • 完成顶层组件
  • 组件细化

Develop

npm i

You need a static file server for the HTML files. Personally I suggest using Nginx.

Develop:

gulp html # regenerate index.html
webpack-dev-server --hot # enable live-reloading

Build (Pack and optimize js, reivision js and add entry in index.html):

gulp build

Usage

npm run clean

Remove folder ./build

npm run dev

Runs the webpack build system just like in compile but enables HMR and react hot-loader. The webpack dev server can be found at localhost:3000.

npm run dev:debug

Same as npm run dev but enables --debug flag automatically.

npm run dev:quiet

Same as npm run dev but disables verbose debugging information.

npm run compile

Runs the Webpack build system with your current NODE_ENV and compiles the application to disk (~/build).

npm run test

Runs all tests for the application.

npm run test:unit

Similar to npm run test, but only runs unit tests. In development mode this will run in watch mode and re-run individual test files when they change.

npm run test:e2e

TODO

Contribution

License

MIT (http://www.opensource.org/licenses/mit-license.php)

About

React implemented frontend for react-china.org

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published