Rails Rails 什么时候出个去前端的轻量级框架

fanqingxuan · August 01, 2020 · Last by hooopo replied at August 01, 2020 · 1852 hits

现在项目都使用前后端分离了,rails 是不是考虑下去除前端组件的轻量版呢

6.1 有 minimal 参数:

rails new cool_app --minimal 

https://github.com/rails/rails/pull/39282

如果一条条参数敲其实现在也可以去掉不用的组件。

Reply to Rei

rails 工具里面能不能也去掉

Reply to fanqingxuan

Rails 工具指什么?

rails new my_api --api

用这个也行吧。 https://guides.rubyonrails.org/api_app.html

You need to Sign in before reply, if you don't have an account, please Sign up first.