React component template of Jianliao.
Demo http://ui.talk.ai/coffee-webpack-starter
You may learn it but we don't guarantee its stability.
You need a static file server for the HTML files. Personally I suggest using Nginx.
npm i
gulp dev
Build (Pack and optimize assets, add hashes and put entries in index.html
):
NODE_ENV=static gulp build # not minified
npm run static
NODE_ENV=ws gulp build
npm run ws
MIT