@layout.tsx equivalent for lit

Hi all,
for some mysterious reasons I decided to use lit.js instead of react and I find the documentation a bit lacking so here I am :slight_smile:
I was going to use the App Layout and set it as root layout as described in the doc, but there there is an example only for react. There is an equivalent also for lit? For now my attepts were unsuccessful :(

as a side note: the link to generate a hilla + lit + gradle is broken.

cheers,
Fernando

Hilla does not support file-based routing for lit. You need to configure the routing programmatically: https://vaadin.com/docs/latest/hilla/lit/guides/routing

Is there a way how to do it “more safe”?
These strings are not anyhow connected to real files (missing import)

component: 'hello-world-view'

So for automated refactoring it’s invisible. I would love to write these config things “type safe” to let IDE know about relationships between files.