Home > OS >  Inertia.JS Render View To String
Inertia.JS Render View To String

Time:12-10

I have a laravel jetstream application where I would like to render a vue view into a html string which i will then process elsewhere.

I would like to have

$htmlStr = Inertia::render('Claims/Show', ['claim' => $claim,  'permissions' => $permissions]);

Is there a way to render inertia templates as a string?

CodePudding user response:

No, not possible. It renderes a view response that cannot be converted to a html string.

  • Related