Home

Awesome

Polythene for React setup example

Compatible with React 16.x, Webpack 4 and Babel 7.

Minimal setup example how to create a Polythene app for React.

Setup

Init:

npm install

Start development server (port 3000):

npm run dev

Build:

npm run build

View with gzip compression:

http-server -g -p 8080 dist/

You may need to install http-server:

npm install -g http-server

See also