Setup VueJs with Webpack 4

There are many online tools such as vue-cli to quick start to a Vue project. Of cause it saves a lot of time and does not require setting up any dependencies. This post is basically to understand how things work. Before starting, make sure you have installed the Node.js to your system.