$30 off During Our Annual Pro Sale. View Details »

Using Vite Ruby, Vite Conf 2024

Avatar for Irina Nazarova Irina Nazarova
December 15, 2025
2

Using Vite Ruby, Vite Conf 2024

Avatar for Irina Nazarova

Irina Nazarova

December 15, 2025
Tweet

More Decks by Irina Nazarova

Transcript

  1. Rails frontend options -API-mode Rails with React/Svelte/Vue/Astro app -Templates and

    HTML-over-the-wire: Hotwire, Stimulus, View Component, Phlex -Mixed mode: React/Svelte/Vue/.. views, or components, inside Rails frontend: Inertia.js, Turbo Mount
  2. ⚡ Products for developers ⚡ Startups on Rails ⚡ Realtime

    and collaboration-heavy apps ⚡ Local- fi rst apps Irina Nazarova CEO Evil Martians transform growth-stage startups into unicorns, build developer tools, and create open source products
  3. “I have not been able to deploy to Heroku, because

    my importmaps are not loading properly and I can’t for the life of me fi gure out the issue” No build Story from last week
  4. We advocate for Vite and Vite Ruby Our Turbo Mount

    and Inertia.js generators are a part of the Vite❤Rails ecosystem
  5. “I have not been able to deploy to Heroku, because

    my importmaps are not loading properly and I can’t for the life of me fi gure out the issue” Vite Ruby No build “I got it after a couple of hours yesterday!!! THANK YOU SO MUCH!” Story from last week
  6. Timely updates “The Vite Ruby gem does not update as

    frequently as the Vite JS package, leading to some inconsistencies between the JS package and the Ruby gem” What’s missing Incremental builds Incremental builds via a persistent build cache that can be reused across builds, out-of-the-box Advanced entrypoint setup “We had issues trying to use 1 con fi g to serve 2 di ff erent entry points without chunking shared libraries/code” Integration with Vitest To have Vitest come together with Vite Ruby, using the same con fi guration