The initial page will be blank because the page is rendered on the front end by Vue. Same goes for React, Svelte, etc. These are single page application frameworks. Inertia is just a helper library that makes it easier to develop SPAs with a Laravel backend.
Inertia.js Laravel App Shows Blank Page in WebView/Postman
Problem Description I'm building a Flutter app with a WebView that needs to display pages from my Laravel application (using VILT stack - Vue.js, Inertia.js, Laravel, Tailwind). When trying to access these pages through either Postman or Flutter's WebView, I get a blank page with a 200 status code. However, error pages display correctly.
What I've Tried Adding various headers including X-Inertia: true and X-Requested-With: XMLHttpRequest When adding X-Inertia: true, I get a 409 error The page works fine when accessed through a regular web browser Error pages display correctly in both Postman and WebView
Question How can I properly display Inertia.js pages in a Flutter WebView? The main issue seems to be with Inertia.js handling, as even Postman requests show blank pages. Any help would be appreciated!
Please or to participate in this conversation.