Closed faustbrian closed 2 years ago
Unfortunately, I don't think we would be able to support integration with Rocket Loader. All JavaScript has already deferred to the very last of the layout.
What's the difference compared to Nova 3? Works flawlessly there, same for 1 and 2 so it's obviously not a technical issue with how JavaScript works. Asking users to disable a major performance and stability booster from CloudFlare for the sake of an admin panel is quite a big request because that will massively impact end-user performance on the front-end.
Fetched the same issue. I fixed it as this created the additional rule with disabled the Rocket Loader for deployed domain/subdomain/path
Description:
Setting up a new project with nothing but Laravel Nova installed and running into an issue with loading it once deployed. Locally everything loads but as soon as it is live and behind CloudFlare with Rocket Loader enabled the following error shows up.
This error disappears and everything loads as expected as soon as you disable Rocket Loader. This wasn't an issue with Nova 3.0 and was reproduced to work fine when spinning up a new project with it.