Setup Vue SPA

It is assumed you have some experience working with VueJS, its router and state management package Vuex. You can install the Vue CLI using:

npm install -g @vue/cli @vue/cli-service-global
yarn global add @vue/cli @vue/cli-service-global

Using the Vue CLI create a project, the example used is called laravel-vue:

vue create laravel-vue

When asked, install the following packages: