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