Closed siarheipashkevich closed 2 months ago
We'd welcome a PR to the docs for the firs issue. For the second one I kindly redirect you to a support channel:
@timacdonald could you please take a look at the second issue?
I think there is a really problem, I also tried to add options
route but nothing.
@siarheipashkevich, I'm unable to reproduce the issue you are hitting with a fresh Laravel application. Could you provide a minimal reproduction repository?
@timacdonald sorry, it's my fault. Take a look at my only
parameter which is wrong.. I should declare store
not post
((
ahhh! Gotcha. Easily done.
Dop you think the CORS issue is still a problem or was it just the only
parameter that was the issue?
I think it's still an issue. Because it's not obvious right now. Yes, we have mention about Precognition header in the documentation, but nothing about Precognition-Success etc
And I think will be better to notice about this if the Laravel used as API with cors configurations.
Thanks for your answers and attemptings to make Laravel packages better!
Laravel Precognition Plugin Version
0.5.6
Laravel Version
11.19.0
Plugin
React
Description
I'm trying to play with your package and want to decide to use it or not.
But I'm facing with some not obvious issues which not documented: 1) We should add
precognition
andprecognition-success
headers toexposed_headers
property incors.php
file 2) I want to specifyHandlePrecognitiveRequests
middleware to the specific route of my controller (store method):But it's not workin and I'm getting an error on the front-end side:
What am I doing wrong?
Steps To Reproduce
Please see description above.
Thanks