github

geniuscarrier / webpack-boilerplate

  • пятница, 8 апреля 2016 г. в 03:12:38
https://github.com/geniuscarrier/webpack-boilerplate

JavaScript
A webpack boilerplate in order to quickly build up a production-ready marketing website.



Webpack Boilerplate

A webpack boilerplate that includes the following libs:

  • jQuery
  • bootstrap
  • font-awesome
  • waypoints
  • jquery.scrollto
  • animate.css

in order to quickly build up a production-ready marketing website.

Install dependencies

npm install

Developing locally

  1. Run

    npm run dev
    
  2. In your browser, navigate to: http://localhost:8080/

Publish

  1. In webpack.config.js file, replace www.example.com with the real domain name.

  2. Run

    npm run build
    
  3. Copy the following folders/files to web server

    /build, /image, index.html