RepositoryRuby
SK

skryukov/turbo-mount

Use React, Vue, Svelte, and other components with Hotwire

480sao
14fork
4issue
1lượt xem

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: stimulusjs

#1 Repository của tháng

1
TINIX TRENDING·Chủ đề: turbo

#1 Repository của tháng

1
TINIX TRENDING·Chủ đề: hotwire

#1 Repository của tháng

🚀 Turbo Mount: Nối liền React/Vue/Svelte với Hotwire Rails

Dùng component từ bất kỳ framework JS nào trong ứng dụng Hotwire mà không lo mâu thuẫn với Turbo.

TurboMount là thư viện Ruby (gem) giúp bạn dễ dàng tích hợp các component tương tác cao từ React, Vue, Svelte vào ứng dụng Hotwire trên Rails. Phát triển bởi Evil Martians, dự án giải quyết bài toán dùng song với cả Turbo (điều hướng trang nhanh) và component động (giao diện sống động).

✨ Điểm nổi bật

  • Hỗ trợ đa framework: React, Vue, Svelte 4/5 chỉ với một plugin riêng.
  • Cài đặt tự động: bin/rails generate turbo_mount:install tự thêm package JS và tạo file khởi tạo.
  • Tích hợp bundler: Hỗ trợ Vite, ESBuild, Importmaps.
  • Helper đơn giản: Dùng turbo_mount(...) trong view ERB để gắn component.
  • Tự động load component: registerComponents tự động đăng ký component từ thư mục.
  • Controller tùy chỉnh: Mở rộng hành vi component bằng cách viết controller riêng.

💡 Vì sao đáng chú ý

TurboMount không ép buộc bạn chọn giữa Hotwire và framework JS hiện đại. Thay vào đó, nó tạo cầu nối giữa chúng: giữ được tốc độ và trải nghiệm của Turbo đồng thời tận dụng giao diện phong phú từ React/Vue/Svelte. Phù hợp cho dự án Rails muốn tăng tương tác UI mà không cần chuyển đổi toàn bộ stack.


#Hotwire #Rails #React #Vue #Svelte #TurboMount #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryRuby
maybe-finance/maybe

The personal finance app for everyone

54.2k
Jul 24, 2025
RepositoryRuby
guillaumebriday/modern-datatables

They are many ways to build reactive web interfaces but do we really need to add the complexity of JavaScript frameworks like Vue.js or React?

169
Jul 1, 2025
RepositoryTypeScript
stimulus-use/stimulus-use

A collection of composable behaviors for your Stimulus Controllers.

1.7k
Nov 30, 2026
RepositoryTypeScript
freeCodeCamp/freeCodeCamp

freeCodeCamp.org's open-source codebase and curriculum. Learn math, programming, and computer science for free.

459.9k
Dec 2, 2026
RepositoryJavaScript
react/react

The library for web and native user interfaces.

253.0k
Nov 30, 2026
RepositoryTypeScript
vuejs/vue

This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core

212.6k
Oct 10, 2024
RepositoryRuby
basecamp/fizzy

Kanban as it should be. Not as it has been.

8.3k
Dec 1, 2026
RepositoryRuby
blackcandy-org/blackcandy

A self hosted music streaming server

4.4k
Nov 19, 2026
RepositoryRuby
thoughtbot/hotwire-example-template

A collection of branches that transmit HTML over the wire.

1.1k
Jan 4, 2025