Confusion on How to Use in Blade Views and AJAX Calls #127
-
Hey Spatie, I am enjoying using Ray out so far, but one thing that I haven't figured out yet is how to use it with Blade Views and AJAX calls. I am using Ray with Laravel and whenever I call Ray using the special Blade syntax or try it in a normal PHP file called from an AJAX request, nothing happens. It's possible that I'm missing something key, but I have looked through the documentation and there doesn't seem to be anything that references different configurations for these use cases, or what to do for troubleshooting. I am using Laradock just in case that is relevant, and developing on macOS Big Sur 11.1. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey @SpencerCloud, hopefully one of these will point you in the right direction:
|
Beta Was this translation helpful? Give feedback.
Hey @SpencerCloud, hopefully one of these will point you in the right direction:
enable
configuration setting set to false? (unless you changed it, the default value should be fine)RAY_ENABLED=false
in your.env
? (if undefined, it defaults totrue
)port
configuration setting match the same setting in the Ray app (Menu -> Preferences)? (the default is23517
)