Issue
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?
Solution
No, not possible. It renderes a view response that cannot be converted to a html string.
Answered By - Ferry Kranenburg
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.