A startup using React & Webpack
I recommand you use the node version, 8.0+. Yarn is recommanded.
- Clone this Git repository to your own PC.
$ git clone git@github.com:yuqingc/daenerys.git
If you want to build your own project, remove the .git
directory at the root derectory.
- Installing packages.
$ yarn
or
$ npm install
- Running
If you want to use the WebPack Dev Server instead of your own, run the following
$ yarn run build-server
$ yarn run run-server
- If you want to build the frontend project ONLY, instead of running it on a server, run
$ yarn run build-prod
or
yarn run build-dev
for a developing version