Laravel Integration
-
Has anybody idea how can I integrate Quasar v1 into a Laravel app? Up to this point I was working with the frontend code separated from the backend api, but I would like to bring all the frontend app into the Laravel resources folder and manage all the code as a single application, taking advantage of Laravel Mix. I found some sample repositories but all of them are about Quasar 0.17.
-
try upgrading one of the repo that you’ve found https://v1.quasar-framework.org/start/upgrade-guide. upgraded a cloned Quasar + Laravel integration to newest verstion and it works https://github.com/metalsadman/quasar-laravel. the static page generated by
quasar build
still at old version though haven’t updated my pages to new v1 components yet. you can test usingquasar dev
if you want to see the v1 generated version. -
@metalsadman thanks a lot. It works ok!
-
Does that method work with hot reload? I had been able to get laravel setup, created a separate quasar projects, merged the two, adjusted my webpack.mix.js file and it was working mostly - except the hot reload would only work if I changed the name of the public folder to something else, then changed it back once hot reload was running. Eventually, and for no discernible reason, it would work for a few, then stop and revert to the last build. Someone suggested that I get it running on a virtualbox rather than xampp, so I’ve been trying that - homestead vagrant, but I can’t seem to get the hot reload to work with the port setup.