I want to use AlpineJS inside my addon. It’s not working after being loaded as a temporary extension, but if I launch the index.html of my sidebar component in the browser, the code executes correctly. What am I missing?
It appears that the framework relies on using eval/Function to parse some of the information you provide it. However that is not allowed inside Firefox extensions (thus the CSP errors). Apparently AlpineJS v3 has a build that would work in extensions: https://github.com/alpinejs/alpine/issues/237#issuecomment-985996766