Sha256: 077ab18e31bc6c1a08f10dbc2e8a6259a12857c0cb9eeebec646178257ff1480

Contents?: true

Size: 343 Bytes

Versions: 12

Compression:

Stored size: 343 Bytes

Contents

class <%= app_class %> < LucidApp::Base
  render do
    Router(hook: Preact.location_hook(props.location)) do
      Switch do
        Route(path: '/', component: HelloComponent.to_js)
        Route(path: '/welcome', component: WelcomeComponent.to_js)
        Route(component: NotFound404Component.to_js)
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
isomorfeus-2.5.5 lib/isomorfeus/installer/templates/my_app.rb.erb
isomorfeus-2.5.4 lib/isomorfeus/installer/templates/my_app.rb.erb
isomorfeus-2.5.3 lib/isomorfeus/installer/templates/my_app.rb.erb
isomorfeus-2.5.2 lib/isomorfeus/installer/templates/my_app.rb.erb
isomorfeus-2.5.1 lib/isomorfeus/installer/templates/my_app.rb.erb
isomorfeus-2.5.0 lib/isomorfeus/installer/templates/my_app.rb.erb
isomorfeus-2.4.2 lib/isomorfeus/installer/templates/my_app.rb.erb
isomorfeus-2.4.1 lib/isomorfeus/installer/templates/my_app.rb.erb
isomorfeus-2.4.0 lib/isomorfeus/installer/templates/my_app.rb.erb
isomorfeus-2.3.1 lib/isomorfeus/installer/templates/my_app.rb.erb
isomorfeus-2.3.0 lib/isomorfeus/installer/templates/my_app.rb.erb
isomorfeus-2.2.11 lib/isomorfeus/installer/templates/my_app.rb.erb