1.1.1 • Published 6 years ago

create-react-app-express v1.1.1

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

Create React App Express

Build Status npm version codecov

Express server for your Create React App projects featuring server-side rendering.

Please visit Create React App Universal CLI for the usage.

How it works

  • In development mode, the middleware will try to proxy into the CRA client to get the required index.html, and then proceed to render on the server
  • By default, the middleware will try to use default CRA client port (3000), and you can change it using CRA_CLIENT_PORT env variable
  • In production mode, the middleware will get the index.html from your CRA client build

Public exports

const { createReactAppExpress, handleUniversalRender } = require('create-react-app-express');
const { staticLoader, universalLoader } = require('create-react-app-express/lib/loaders');

// Most basic SSR will use the first exports, the second one will be used by existing express project or further customization

Credits

License

MIT

2.0.0-1

6 years ago

2.0.0-0

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.1

7 years ago

1.0.0

7 years ago

0.7.0

7 years ago

0.6.5

7 years ago

0.6.4

7 years ago

0.6.3

7 years ago

0.6.2

7 years ago

0.6.0

7 years ago

0.5.0

7 years ago

0.4.0

7 years ago

0.3.0

7 years ago

0.2.0

7 years ago

0.1.0

7 years ago