Before everything, let's make sure that we are on the same page, at least regarding the node version. The version of Node.js I'm using is 6.11.1.
Let's start by creating a skeleton for our application. We will use vue-cli with the webpack
template. If you don't remember what vue-cli is about and where it comes from, check the official Vue documentation in this regard at https://github.com/vuejs/vue-cli. If for some reason you still haven't installed it, proceed with its installation:
npm install -g vue-cli
Now, let's bootstrap our application. I'm sure you remember that, in order to initialize the application with vue-cli,
you must run the vue init
command followed by the name of the template to be used and the name of the project itself. We are going to use the webpack
template, and our application's name is profitoro
. So, let's initialize it:
vue init webpack profitoro
During the initialization process you will be asked some questions. Just keep hitting Enter...