Skip to content

SPA Boilerplate made with Laravel 5.6, Vue 2, Bootstrap 4, Vue-router 3, Vuex 3, Axios

License

Notifications You must be signed in to change notification settings

anindya-dhruba/laravel-vue-spa

Repository files navigation

Laravel Vue SPA

Starter Boilerplate SPA made with Laravel 5.6, Bootstrap 4, JWT Auth, Vue 2, Vue-router 3, Vuex 3, Axios & ❤️

Demo

Laravel Vue SPA

Live Demo

What's New

  • Upgraded to Bootstrap 4 from Bootstrap 3
  • Upgraded to Vuex 3 from Vuex 2
  • Upgraded to Vue Router 3 from Vue Router 2
  • All packages are updated (both PHP and JS)
  • Removed unnecessary vuex store modules
  • Project structure updated

What's included

Installation:

  • Clone the repo
  • Copy .env.example to .env
  • Configure .env
  • cd to the repo
  • Run composer install --no-scripts
  • Run php artisan key:generate
  • Run php artisan migrate --seed. A user will be seeded so that you can login, where:
  • Run npm install
  • Run npm run watch
  • View the site by
    • Either running php artisan serve if you are not using vagrant homestead or laravel valet (in a new terminal/command prompt)
    • Otherwise go to your local dev url configured in vagrant

For any problem in laravel setup, please get help from Laravel site. If that does not work, please create an issue, I will try my best to help.

Note:

I tried to follow the best practices, but any suggestion, modification is highly appreciated.