Skip to content

Feature request: disable handling certain attributes #117

@miken32

Description

@miken32

It's not really feasible to use this plugin when working on a Laravel project, because it tries to take over every HTML attribute that starts with a colon. Unfortunately this is how Blade templates indicate the attribute contains native PHP code. So, in our code base we never use the : and @ shortcuts, instead always using x-bind and x-on. It would be great to have a couple of checkboxes in the settings to disable attributes starting with each of these shortcuts from being treated as Alpine attributes.

It seems like pretty basic functionality so I'll take a look at the code and see if I can put together a PR, despite never having used Java (?) before.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions