We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to use mini cart to form to send laravel token csrf_token
<input type="hidden" name="_token" value="{{ csrf_token() }}" />
The text was updated successfully, but these errors were encountered:
I'm looking for the same answer
Sorry, something went wrong.
I solved it! In minicart.js, I fetched the token value like this,
const token = $('input[name=_token]').val()
and gave this in template attribute within the form,
No branches or pull requests
how to use mini cart to form to send laravel token csrf_token
<input type="hidden" name="_token" value="{{ csrf_token() }}" />
The text was updated successfully, but these errors were encountered: