Data retrieved from the Laravel backend is not displayed on Vue pages #683
Unanswered
charlesalec
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello! I'm so glad I found this Laravel/Vue/Inertia combination.
However, I'm having some issues.
I use Laravel Jetpack with Inertia, and I realize I'm constantly having issues trying to render data that I retrieve via the ajax calls, i.e., anything I retrieve and then try and display in HTML via {{ handlebars }} does not render.
To give an example, I've built the GetNews.vue file:
HTML:
https://imgur.com/a/2XNo7p2
With the following in the <script> section:
https://imgur.com/a/SsD4KHR
Lastly, my Laravel controller does the following:
https://imgur.com/a/twf9fFp
However, nothing ever renders in the table.
I notice I have the exact same issue when trying to display errors returned by the backend in {{ handlebars }}.
Any help greatly appreciated!
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions