Sha256: f98bbb38dc5e7d7c8288dee163263bf4fcdff8ff58459700f1f2c54eaa0e2a97

Contents?: true

Size: 273 Bytes

Versions: 8

Compression:

Stored size: 273 Bytes

Contents

<%- component_name = options.server_rendering? ? "HelloWorldAppClient" : "HelloWorldApp" -%>
import <%= component_name %> from './<%= component_name %>';

// This is how react_on_rails can see the HelloWorldApp in the browser.
window.HelloWorldApp = <%= component_name %>;

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
react_on_rails-1.2.2 lib/generators/react_on_rails/templates/base/base/client/app/bundles/HelloWorld/startup/globals.jsx.tt
react_on_rails-1.2.1 lib/generators/react_on_rails/templates/base/base/client/app/bundles/HelloWorld/startup/globals.jsx.tt
react_on_rails-1.2.0 lib/generators/react_on_rails/templates/base/base/client/app/bundles/HelloWorld/startup/globals.jsx.tt
react_on_rails-1.2.0.rc1 lib/generators/react_on_rails/templates/base/base/client/app/bundles/HelloWorld/startup/globals.jsx.tt
react_on_rails-1.1.1 lib/generators/react_on_rails/templates/base/base/client/app/bundles/HelloWorld/startup/globals.jsx.tt
react_on_rails-1.1.0 lib/generators/react_on_rails/templates/base/base/client/app/bundles/HelloWorld/startup/globals.jsx.tt
react_on_rails-1.0.3 lib/generators/react_on_rails/templates/base/base/client/app/bundles/HelloWorld/startup/globals.jsx.tt
react_on_rails-1.0.2 lib/generators/react_on_rails/templates/base/base/client/app/bundles/HelloWorld/startup/globals.jsx.tt