Skip to content

@blazetrails/vite-trails ​

Vite tag helpers and engine for Trails, mirroring the vite_rails gem

MeasureValue
Rails counterpartvite_rails vite_ruby@3.11.1
API methods matched100% (17 of 17)
Rails tests matched—
Ruby files ported3
Ruby files unported0
Measured atfe89b44726

Gaps by file ​

No gaps recorded for this package.

Missing methods ​

None recorded for this package.

Unported Ruby files ​

Every compared Ruby file has a TypeScript file.

Deviation receipts ​

JSDoc receipt tags in the package's source, by the receipt each carries.

TagPERMANENTCONVERGEABLEnone
@missingRailsCall300
@missingRailsArgs200
@internal005

Permanently skipped tests ​

importmap-rails and propshaft are out of scope; JavaScript is served by Vite (vite_rails) (1)

Ratified deviations ​

Each rule below is ratified in the repository's CLAUDE.md files. The first paragraph is quoted; the link opens the full section at this build's commit.

importmap-rails and propshaft are out of scope; JavaScript is served by Vite (vite_rails) ​

A Rails 8 app serves JavaScript through importmap-rails and assets through propshaft (railties/lib/rails/generators/app_base.rb's javascript default of importmap), and an older one through Sprockets (sprockets-rails). trails ports none of the three. Sprockets was ruled out of scope by the operator on 2026-11-19; the heading keeps its original wording so citations resolve. Vite fills both roles, through ports of the vite_ruby and vite_rails gems (vendor/vite_ruby/v3.11.1/): ViteRuby::Config reads config/vite.json, ViteRuby::Manifest resolves entries, ViteRuby::DevServerProxy proxies to the Vite dev server, and ViteTrails::TagHelpers renders the tags. The npm vite, vite-plugin-ruby, @hotwired/turbo-rails and @hotwired/stimulus are dependencies, not ports.

CLAUDE.md →

Source ​

packages/vite-trails on GitHub →