peerigon-react-server-cli
A command line to run react-server
Last updated 4 years ago by peerigon .
Apache-2.0 · Original npm · Tarball · package.json
$ cnpm install peerigon-react-server-cli 
SYNC missed versions from official npm registry.

react-server-cli

A simple command line app that will compile a routes file for the client and start up express. To use:

  1. npm install --save react-server-cli react-server
  2. Add ./node_modules/react-server-cli/bin/react-server-cli as the value for scripts.start in package.json.
  3. npm start from the directory that has your routes.js file.

What It Does

The CLI builds and runs a react-server project, using Express. It compiles JS(X) and CSS into efficiently loadable bundles with code splitting using webpack, and it supports hot reloading of React components on the client-side during development.

Find out more

See the React Server CLI guide

Current Tags

  • 0.5.2-experimental.2                                ...           latest (4 years ago)

2 Versions

  • 0.5.2-experimental.2                                ...           4 years ago
  • 0.5.2-experimental.1                                ...           4 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 2
Dependencies (35)
Dev Dependencies (11)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |