reactjs/react-rails

Support for Vite

开放

#1,134 创建于 2021年6月16日

 (14 条评论) (32 个反应) (1 位负责人)JavaScript (776 个派生)batch import
enhancementhelp wanted

仓库指标

星标
 (6,587 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

This is a feature suggestion, and I imagine it would be a ton of work, so I mainly just wanted to start a thread for discussion.

React-Rails already supports both Sprockets and Webpack. Adding support for Vite would be great. There's a relatively new vite_ruby gem, and the author there commented on the feasibility of using it with react-rails. In my case, the app I wanted to try it with uses SSR, so I didn't get very far in testing it out.

Any thoughts?

贡献者指南