How can I load content only #1254
Unanswered
MrAbdelrahman10
asked this question in
Help (Vue)
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.
-
I load some data in HandleInertiaRequests middleware like header and check if request is inertia request or not using this code:
$request->header('x-inertia')
And I don't want to load header and footer data every request so i try to load it if request not inertia Ex:
But in this case header comes empty
So my question is: How can I load content only without loading header and footer every request?
Beta Was this translation helpful? Give feedback.
All reactions