/polythene-react-setup

Polythene for React setup example

Primary LanguageJavaScript

Setup of Polythene 1.0 for React

Compatible with React 16.x

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

Setup

Init:

yarn

Start development server (port 3000):

yarn run dev

Build:

yarn run build

View with gzip compression:

http-server -g -p 8080 dist/

You may need to install http-server:

yarn global add http-server

See also