Alpine component ax-load-src doesnt fetch in v4
Hello, I've tried to update some package to use v4 and registering alpine component and usage, doesnt fetch the file even tho it exists and it is accessible.
Same thing works in v3
Solution:Jump to solution
The syntax of Async Alpine changed with v2: https://async-alpine.dev/docs/
I know Dan built a compatibility layer for v3. Not sure whether that also works in v4...
Async Alpine
Getting Started β Async Alpine Documentation
How to get started with Async Alpine to load Alpine.js components lazily, for a quick start using a CDN.
2 Replies
Solution
The syntax of Async Alpine changed with v2: https://async-alpine.dev/docs/
I know Dan built a compatibility layer for v3. Not sure whether that also works in v4
Async Alpine
Getting Started β Async Alpine Documentation
How to get started with Async Alpine to load Alpine.js components lazily, for a quick start using a CDN.
Ah, thats it, changing from ax to x prefix π
Didnt even see it in docs how small diff it was, thanks π