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