Example of basic Webpack config for a simple website. Guide: here
Install all packages:
$ npm install
Serve for development purposes with webpack
npm run serve
Open http://localhost:8080 to see the output. Will continually refresh as you make changes in the code.
Run webpack
$ npm run build
Open dist/index.html in browser to see the output.
Adapted from Anton Melnyk's example simple_webpack_boilerplate