This boilerplate is the extend version of laravel-vue-spa
- Laravel 5.6
- Service + Repository + Observer
- Fractal
- Vue + VueRouter + Vuex + VueI18n + ESlint
- Pages with dynamic import and custom layouts
- Login, register and password reset
- Authentication with JWT
- Socialite integration
- Bootstrap 4 + Font Awesome 5 + Element UI
Follow these commands:
git clone https://github.com/talha08/laravel-vue-boilerplate.git
cd laravel-vue-boilerplate
cp .env.example .env
- Open
.env
and edit your database connection details php artisan key:generate
php artisan jwt:secret
php artisan migrate
php artisan db:seed
yarn
(Install Yarn if you don't have it.)
open bash
# serve with hot reloading
yarn run hot OR npm run hot
open another bash
# serve with hot reloading
php artisan serve
yarn run production OR npm run production
then on the project path of the server hit,
yarn run production OR npm run production
- Laravel - Backend Framework
- Vuejs - Frontend Framework
- Element UI - Frontend Framework
- Fractal - Api Response
- Bootstrap - Frontend Framework
This project is licensed under the MIT License - see the LICENSE file for details
- Thank you Cretu Eusebiu for your initial work.