-
When use webpacker, i can use |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Hi! Like you mention, at the moment options are only passed on to the script tag. Will need to take a deeper look at The goal would be to do something like: vite_javascript_tag 'application', 'data-turbo-track': 'reload', media: 'all' and have the |
Beta Was this translation helpful? Give feedback.
-
Released a new version of <%= vite_javascript_tag 'application', 'data-turbo-track': 'reload' %> should now work as expected. @nyrf You can upgrade by running |
Beta Was this translation helpful? Give feedback.
Released a new version of
vite_rails
that will use any additional attributes, so using:should now work as expected.
@nyrf You can upgrade by running
bundle update vite_rails
.