An open API service indexing awesome lists of open source software.

https://github.com/zeusdeux/ssr-on-zeit

Simple example of SSR React app using es6 modules running on the @zeit platform
https://github.com/zeusdeux/ssr-on-zeit

lamda react ssr zeit zeit-now

Last synced: 6 months ago
JSON representation

Simple example of SSR React app using es6 modules running on the @zeit platform

Awesome Lists containing this project

README

          

# ssr-on-zeit

Simple example of SSR React app running on the @zeit platform

## Motivation

I wanted to learn how to use the `@now/node` builder and _not_ the `@now/node-server` builder to power a SSR react app.

## Biggest learning

For this whole thing to work, don't forget to setup `libraryTarget` in `webpack.config.js` so that the @zeit's `@now/node` builder can use it correctly in the wrapper it produces.

## How do I deploy this?

Run `npm run deploy` which will build the bundles and deploy 'em.

## Where's all my dev nirvana tooling?

Haven't added any as the focus was to learn something about @zeit's `@now/node` builder and adding + setting the tooling up was taking forever.