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.exampleto.envand update contents composer installphp artisan key:generatephp artisan jwt:secretphp artisan migratenpm installnpm i -g @quasar/cliquasar dev(local development) orquasar build(build on server)
- setup a domain
example.com(frontend) andapi.example.com(backend) - symlink
example.comto the Quasar generated UI folder:
cd example.com
rm -rf public_html
ln -s ../Laravel-Quasar/dist/spa public_html- symlink
api.example.comto the Laravel entrypoint:
cd api.example.com
rm -rf public_html
ln -s ../Laravel-Quasar/public-api public_html
