hyperstack-org/hyperstack

Need to get rails to precompile the prerender assets

Open

#228 geöffnet am 18. Aug. 2019

Auf GitHub ansehen
 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (43 Forks)batch import
buggood first issue

Repository-Metriken

Stars
 (531 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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.

Contributor Guide