Giter VIP home page Giter VIP logo

laravel-spa-iview's Introduction

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

laravel-spa-iview's People

Contributors

abdullahghanem avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.