hyperstack-org/hyperstack

Need to get rails to precompile the prerender assets

Open

#228 aperta il 18 ago 2019

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)JavaScript (43 fork)batch import
buggood first issue

Metriche repository

Star
 (531 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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.

Guida contributor