Skip to content

jeffryjdelarosa/laravel-vue-spa-1

 
 

Repository files navigation

Laravel Vue SPA

Starter Boilerplate SPA made with Laravel 5.5, JWT Auth, Vue 2, Vue-router 2, Vuex 2, Axios & <3

What's New

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:
    • email is: root@example.com
    • password is: root
  • 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.

About

SPA Boilerplate made with Laravel 5.5, Vue 2, Vue-router 2, Vuex 2, Axios

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 93.1%
  • PHP 5.7%
  • Vue 1.1%
  • HTML 0.1%