Skip to content

Latest commit

 

History

History
78 lines (61 loc) · 1.82 KB

README.md

File metadata and controls

78 lines (61 loc) · 1.82 KB

Laravel-Vue SPA

Laravel 5 Boilerplate / Starter kit with Iview .

Laravel Boilerplate provides a very flexible and extensible way of building your custom Laravel 5 applications with vue by Iview.

Table of Contents

Features

  • Laravel 5.5
  • Vue + VueRouter + Vuex + Iview + VueI18n
  • Pages with custom layouts
  • Login, register and password reset
  • Authentication with JWT
  • Socialite integration

Installation

  1. Install Composer using detailed installation instructions here
  2. Install Node.js using detailed installation instructions here
  3. Clone repository
$ git clone https://github.com/AbdullahGhanem/laravel-spa-iview.git
  1. Change into the working directory
$ cd laravel-spa-iview
  1. Copy .env.example to .env and modify according to your environment
$ cp .env.example .env
  1. Install composer dependencies
$ composer install --prefer-dist
  1. An application key can be generated with the command
$ php artisan key:generate
  1. An application jwt key can be generated with the command
$ php artisan jwt:secret
  1. Execute following commands to install other dependencies
$ npm install
$ npm run dev

If you get an error like a PDOException try editing your .env file and change DB_HOST=127.0.0.1 to DB_HOST=localhost or DB_HOST=mysql (for docker-compose environment).

Development

# build and watch
npm run watch

# serve with hot reloading
npm run hot

Production

npm run production

Sponsor

💚️ Become a Sponsor