JSON error when attempting to switch pages. #158
Unanswered
Tesseeaye
asked this question in
Help & support
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.
-
Hello, I'm trying to figure out what I'm doing wrong that's preventing me from switching pages with the pagination buttons. I'm able to manually put

?page=2
in the address bar and have the page load with the new content stored inlaravelData
The error message I get in Firefox's debugger isThe code from my controller that's sending the data looks like this:
My Vue template is reusing code from the documentation for the pagination
The laravelData variable looks like this on page load:
Beta Was this translation helpful? Give feedback.
All reactions