hyperstack-org/hyperstack

Need to get rails to precompile the prerender assets

Open

#228 ouverte le 18 août 2019

Voir sur GitHub
 (1 commentaire) (0 réactions) (0 assignés)JavaScript (43 forks)batch import
buggood first issue

Métriques du dépôt

Stars
 (531 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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.

Guide contributeur