Closed EmranMR closed 9 months ago
If you have access to tree-sitter-html and able to modify the injection.scm, you could follow https://github.com/EmranMR/tree-sitter-blade/discussions/19#discussioncomment-6451292 to inject JS into alpineJS.
tree-sitter-html
injection.scm
However it would be nice to add first party support in tree-sitter-blade for Injecting JS into AlpineJS attribute directives. This will enable the injections where the injection.scm is not accessible, for example in Nova.
tree-sitter-blade
Not needed for now follow the guide in #33
If you have access to
tree-sitter-html
and able to modify theinjection.scm
, you could follow https://github.com/EmranMR/tree-sitter-blade/discussions/19#discussioncomment-6451292 to inject JS into alpineJS.However it would be nice to add first party support in
tree-sitter-blade
for Injecting JS into AlpineJS attribute directives. This will enable the injections where theinjection.scm
is not accessible, for example in Nova.