hyperstack-org/hyperstack

Need to get rails to precompile the prerender assets

Open

#228 aberto em 18 de ago. de 2019

Ver no GitHub
 (1 comment) (0 reactions) (0 assignees)JavaScript (43 forks)batch import
buggood first issue

Métricas do repositório

Stars
 (531 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

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.

Guia do colaborador