SolidJSS
SolidJSโ€ข2y agoโ€ข
18 replies
halu

Solid-Router: "named views" equivalent?

What would be the solid-router equivalent of vue-routers "named views"?
https://router.vuejs.org/guide/essentials/named-views
{
  path: '/',
  component: MainLayout,
  children: [
    {
      path: 'home',
      components: {
        default: Home,
        sideBar: DefaultSideBar
     ,
    {
      path: 'store',
      components: {
        default: Store,
        sideBar: StoreSideBar
      }
    }
  ]
}


Was this page helpful?