Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve Alpine detection #327

Open
HugoDF opened this issue Nov 21, 2021 · 2 comments
Open

Improve Alpine detection #327

HugoDF opened this issue Nov 21, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@HugoDF
Copy link
Collaborator

HugoDF commented Nov 21, 2021

Websites using v3 like flutter.dev don't get detected as using Alpine since they're not populating the window.Alpine global.

We could extend the detection functionality by checking if there are elements with x-data attribute that have an initialised Alpine component attached.

@HugoDF HugoDF added the enhancement New feature or request label Nov 21, 2021
@coder2000
Copy link

This would be good, as the extension doesn't detect Alpine on my site. I guess that is why, as I don't add it to window.Alpine.

@JeremyJaydan
Copy link

I was wondering why it disappeared after I switched to the alpine npm package.

I don't mind manually setting alpine as global, a tip in the readme could be useful though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants