Skip to content

How to add data-turbo-track="reload" or other options for stylesheet link #54

Answered by ElMassimo
nyrf asked this question in Q&A
Discussion options

You must be logged in to vote

Released a new version of vite_rails that will use any additional attributes, so using:

<%= vite_javascript_tag 'application', 'data-turbo-track': 'reload' %>

should now work as expected.

@nyrf You can upgrade by running bundle update vite_rails.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@ElMassimo
Comment options

@nyrf
Comment options

@ElMassimo
Comment options

@nyrf
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by ElMassimo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants