ArthurClemens / polythene-react-setup

Polythene for React setup example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Polythene for React setup example


Languages

Language:JavaScript 86.3%Language:HTML 13.7%