Hut is a boilerplate for ES6+ syntax. It comes with babel that transpiles ES6+ to ES5 and webpack as build tool.
Hut needs node
and npm
to be installed on your machine.
- Clone this repository.
- Run
yarn OR npm install
command to download and install all Webpack dependencies. - Run
yarn serve
to run the server onhttp://localhost:8080
. This command will run the project in development mode. - To build the project for production run
yarn build:prod OR npm run build:prod
command. This will build the app for production and put all the files in/dist
folder. - To run production ready version on local environment, run
yarn serve:prod OR npm run serve:prod
. Then go tohttp://localhost:8080
.