Laravel+Blade vs Laravel+Vue.js: Simple Demo

Simple project showing how product catalog can be loaded with only back-end MVC with Blade, and with front-end Vue.js, calling data from API.

Laravel + Vue.js


How to use

  • Clone the repository with git clone
  • Copy .env.example file to .env and edit database credentials and domain there
  • Run composer install
  • Run php artisan key:generate
  • Run php artisan migrate --seed (it will seed some dummy data for you)
  • Run php artisan passport:install
  • That's it - load the homepage, use two links on the right to feel the difference

License

Please use and re-use however you want.


More from our LaravelDaily Team