Sha256: 7852e73407897632fdffff477c082109df01e98002ec0c070ac4817a0e825740
Contents?: true
Size: 1.35 KB
Versions: 1
Compression:
Stored size: 1.35 KB
Contents
# Shown below are the defaults for configuration ReactOnRails.configure do |config| # Client bundles are configured in application.js # Server rendering: # Server bundle is a single file for all server rendering of components. # It is important to set this to "" if you are not doing server rendering to avoid an extraneous log warning # that the default file of server-bundle.js does not exist. config.server_bundle_js_file = "app/assets/javascripts/generated/server-bundle.js" # This is the default # increase if you're on JRuby config.server_renderer_pool_size = 1 # seconds config.server_renderer_timeout = 20 # If set to true, this forces Rails to reload the server bundle if it is modified config.development_mode = Rails.env.development? # For server rendering. This can be set to false so that server side messages are discarded. # Default is true. Be cautious about turning this off. config.replay_console = true # Default is true. Logs server rendering messags to Rails.logger.info config.logging_on_server = true # The following options can be overriden by passing to the helper method: # Default is false config.prerender = false # Default is false, meaning that you expose ReactComponents directly config.generator_function = false # Default is true for development, off otherwise config.trace = Rails.env.development? end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
react_on_rails-1.0.1 | lib/generators/react_on_rails/templates/base/base/config/initializers/react_on_rails.rb |