This basic SPA is boostrapped with Laravel 5.4, Vue.js 2, VueRouter, Axios and so much more !
- Basic Routing with VueRouter 2.0
- Use VueJS Components and Named Slots
- Use a Laravel component
- Web AJAX call with axios
- List Rendering with VueJS
- Validation form inputs
- Clone or download the repository
git clone https://github.com/hamog/Laravel-Vue.git
- CD in project root directory and Run
cd Laravel-Vue/
composer install
- Run
npm install
-
Rename .env.example to .env
-
Change your database credentials on the .env file
-
Run the generate application key
php artisan key:generate
- Run the migrations and seed data on your database
php artisan migrate --seed
- Run
php artisan serve
- And you're good to go !
This project is open for all.