hyperstack-org/hyperstack

Need to get rails to precompile the prerender assets

Open

#228 建立於 2019年8月18日

在 GitHub 查看
 (1 留言) (0 反應) (0 負責人)JavaScript (531 star) (43 fork)batch import
buggood first issue

描述

The configuration / generator script needs to add this line to

   Rails.application.config.assets.precompile += %w( hyperstack-prerender-loader.js )

to the config/initializers/assets.rb file.

Work around is to add this file when turning pre-rendering on.

Might be nice if this could automatically be added if pre-rendering is on.

貢獻者指南