Skip to content

metalsadman/quasar-laravel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel 7x + Quasar Framework v1.+

Setup

rename or copy .env.example to .env

$ cp .env.example .env
# install php dependencies
$ composer install

# Node.js >= 8.9.0 is required.
$ npm install -g @quasar/cli
# install yarn
$ npm install -g yarn
# install node dependencies
$ yarn

# generate key
$ php artisan key:generate

# set privileges to node_modules folder (optional)
#$ chmod -R u+x node_modules/

Dev

#first start the back-end (don't use the artisan's serve url in this mode)
$ php artisan serve

#then build for development mode

$ quasar dev | -m <mode>

Production

#build for production (it'll generate and copy the necessary files)

$ quasar build | -m <mode>
$ php artisan serve

Check outquasar.conf.js``

Sample App

Examples in this repo (except auth implementations) are taken from my codesandbox examples https://codesandbox.io/s/quasar-v1-samples-0ybb3

#install laravel passport dependency
$ composer require laravel/passport
#migration
$ php artisan migrate
#generate laravel passport keys
$ php artisan passport:install

Laravel License

The Laravel framework is open-sourced software licensed under the MIT license.

Quasar License

Copyright (c) 2016-2019 Razvan Stoenescu MIT License