在开发模式下测试没有 JS 的页面(只得到一个空白页)

Are you using Ember CLI for development? To test out changes to server-side ERB templates, you will need to bypass that and go straight to the Rails server.

NO_EMBER_CLI=1 rails s

And then visit localhost:3000

1 个赞