vite_ruby icon indicating copy to clipboard operation
vite_ruby copied to clipboard

feat: allow options to be passed to legacy helpers

Open josephnle opened this issue 1 year ago • 0 comments

Description 📖

Allows additional options to be passed to the vite_plugin_legacy rails tag helpers. This way we can do something like:

<%= vite_legacy_typescript_tag('application', nonce: 'abc123') %>

Background 📜

This was happening because the helpers didn't accept **options like the vite_rails helpers do.

The Fix 🔨

Adding **options to the tag helpers

josephnle avatar Jun 14 '24 22:06 josephnle