impxd / laravel-quasar-pwa-template

Laravel 5.7 + Quasar framework (PWA)
47 stars 22 forks source link

Laravel Blade View #5

Open arezaee opened 5 years ago

arezaee commented 5 years ago

Hi, I have developed my web app with laravel, and then I have decided to make it progressive, so I have googled and have found here. But now, I totally confused.

Does it necessary to convert all blade views to vue files? or I can keep my blade files and use pwa benefits?

impxd commented 5 years ago

Hi there.

Basically no, you don't need to convert all your blade files, just the necessary views and also routes. Maybe just the core of your webapp, in that way, those converted views and routes will be available OFFLINE through the Service Worker when users install your PWA in their devices.

So, in order to keep your laravel routes , just put them in the routes/web.php file, before the front-end redirection and both routers will live together.

I hope it helps. Grettings.