mardi 17 septembre 2019

Retrieve Laravel Blade to inject into a Vue Div

I have a unique situation where I might have 100's of html renderings that need to be dynamically loaded into a Vue div based on the focus of an input.

The problem is, when I ajax to the blade file through an api call, Laravel sends the blade with

<!DOCTYPE html>
<html....

Then my blade.

I only want to send the blade with no surrounding headers. is this possible?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire