The main.js is the import file for webpack so this is the file that we need to bootstrap the application from. First we need to import Vue which is simply done by usingimport Vue from 'vue'
This is because Vue has been loaded as a dependency by using NPM means we can simply import it. Then we need to load in VueRouter and VueResource.import VueRouter from 'vue-router' Vue.use(VueRouter) import VueResource
Get weekly updates to your email