Laravel 10 with Quasar v2 (Vue3, Vite, Pinia, i18n) for a Material Design SPA/PWA or Cordova Android/iOS app.
This boilerplate offers a quick start for building a Material Design (web)app with a UI powered by the Quasar Framework combined with a Laravel backend.
- copy
.env.example
to.env
and update contents composer install
php artisan key:generate
php artisan jwt:secret
php artisan migrate
npm install
npm i -g @quasar/cli
quasar dev
(local development) orquasar build
(build on server)
- setup a domain
example.com
(frontend) andapi.example.com
(backend) - symlink
example.com
to the Quasar generated UI folder:
cd example.com
rm -rf public_html
ln -s ../Laravel-Quasar/dist/spa public_html
- symlink
api.example.com
to the Laravel entrypoint:
cd api.example.com
rm -rf public_html
ln -s ../Laravel-Quasar/public-api public_html