Laravel + Quasar 1.0 with Quasar CLI
-
@metalsadman thanks so much for upgrading your example. Questions:
1.- After launch quasar build, what folder should we use as entry point for our web server ? Here we are trying to keep both project togeter and maybe due to Laravel Views now support html as a file type in v5.8.18 ( https://github.com/laravel/framework/pull/28541 ) we can take advantages from this.2.- In your quasar.conf filee, after detecting we are in prod env, can you please explain why do you use this lines:
cfg.plugins.push(new CopyWebpackPlugin([{ from: path.resolve(__dirname, 'public_files'), to: '' }]))
I know this is not the best example, and again, frontend app (and repo) should be separated from API, but I guess this is the main point for the thread.
-
- not entirely sure bout this but probably related to number 2. just tested this using the api.
- it’s the target public folder using symlink iirc, where your quasar index.html resides.
i’ll have to test it more soon, when i’m sort of free.
-
Finally, I able to create a workable dockerfile for development machine. Took quite a long time.
-
I am trying to do the same thing, if anyone can help, it will be welcome https://github.com/modemb/larasar
-
@stefanvh A lot of thanks
-
I have used Laravel Vue JS before for creating a single page application. What I am wondering is, If I am using Quasar, instead of directly using vue js, then how can i create an SPA?
-
@olidev did you mean quasar cli + laravel see https://github.com/metalsadman/quasar-laravel? else you can just use quasar as umd… see the docs for quasar flavors.
-
@lucasfernog you already have what u require…
-
@Aziz-Khan @lucasfernog picked up the ball and ran so hard, he’s on the core team now
-
-
-
https://github.com/metalsadman/quasar-laravel
Hope more people contribute to this one. Laravel 6 (passport support).