Sha256: f93c55da60f81f777dceb0c4410222dbd6a01cbfb1d2317f5a49878a63c0f544

Contents?: true

Size: 391 Bytes

Versions: 43

Compression:

Stored size: 391 Bytes

Contents

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

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
isomorfeus-2.2.10 lib/isomorfeus/installer/templates/my_app.rb.erb
isomorfeus-2.2.9 lib/isomorfeus/installer/templates/my_app.rb.erb
isomorfeus-2.2.8 lib/isomorfeus/installer/templates/my_app.rb.erb
isomorfeus-2.2.7 lib/isomorfeus/installer/templates/my_app.rb.erb
isomorfeus-2.2.6 lib/isomorfeus/installer/templates/my_app.rb.erb
isomorfeus-2.2.5 lib/isomorfeus/installer/templates/my_app.rb.erb
isomorfeus-2.2.4 lib/isomorfeus/installer/templates/my_app.rb.erb
isomorfeus-2.2.3 lib/isomorfeus/installer/templates/my_app.rb.erb
isomorfeus-2.2.2 lib/isomorfeus/installer/templates/my_app.rb.erb
isomorfeus-2.2.1 lib/isomorfeus/installer/templates/my_app.rb.erb
isomorfeus-2.2.0 lib/isomorfeus/installer/templates/my_app.rb.erb
isomorfeus-2.1.1 lib/isomorfeus/installer/templates/my_app.rb.erb
isomorfeus-2.1.0 lib/isomorfeus/installer/templates/my_app.rb.erb
isomorfeus-2.0.22 lib/isomorfeus/installer/templates/my_app.rb.erb
isomorfeus-2.0.21 lib/isomorfeus/installer/templates/my_app.rb.erb
isomorfeus-2.0.20 lib/isomorfeus/installer/templates/my_app.rb.erb
isomorfeus-2.0.19 lib/isomorfeus/installer/templates/my_app.rb.erb
isomorfeus-2.0.18 lib/isomorfeus/installer/templates/my_app.rb.erb
isomorfeus-2.0.17 lib/isomorfeus/installer/templates/my_app.rb.erb
isomorfeus-2.0.16 lib/isomorfeus/installer/templates/my_app.rb.erb