Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

dam-man's avatar

Vue Laravel and Inertia pwa

Is it possible to create a PWA from an Inertia stack with al laravel backend? I am currently creating a Vue3 SPA but i want it also as a PWA

I see there is a Vite PWA plugin but no documentation at all for this stack I am using.

Can anyone recommend me a good tutorial to see hoe this needs to be done.

0 likes
11 replies
vincent15000's avatar

What is PWA ? I just see that this means Progressive Web Application, but I don't know what it means.

Niush's avatar
Niush
Best Answer
Level 50

With Inertia + Laravel stack all the routing and authorization is handled on the backend. Inertia must make a request to the backend server in order to perform any page visit. So, your PWA app won't be able to run offline.

But, if Offline Mode is not your requirement, you can very easily get started here: https://vite-pwa-org.netlify.app/guide/

1 like
dam-man's avatar

Offline is in this case not an option as it needs to read the datbase all the time. I will simply check youtrlink to see if that is working.

Maybe i can show an offline message.

1 like
dam-man's avatar

If somebody has another good option, let me know

1 like
robj's avatar

Hey @dam-man - I'm about to try something with interia and PWA, did you get anywhere with this?

I don't have an offline requirement either but I'd like it to be installable.

Thanks, RobJ.

2 likes
dam-man's avatar

No, i havent completed everything yet so i stull hqve to figure out hoe to get it working.

1 like
dam-man's avatar

I will give it a tey shortly

1 like
Bhavil Jain's avatar

hey @dam-man , @robj,

Did you guys get anywhere with this?? I, too, have stumbled upon such a requirement. I don't need offline access. Just need the login system and 2 pages that the user can access Online only.

Were you guys able to implement anything that worked?? I'm using Laravel+Vue+Breeze

1 like
arthurnassarbb's avatar

@Bhavil Jain I just published a new PWA in 3 simple steps with this guide... Follow the video because there's a few changes that you need to do on the initial configuration that are now shown on the texts. https:// infyom.com/blog/how-to-make-a-laravel-application-pwa

Please or to participate in this conversation.