# routeComponent

Adapt a Vue component to a Typed route handler. Render the full matcher with Typed's
renderer (or the inverse Typed component), keeping route resources alive through SSR.

## Signatures

```ts
export declare function routeComponent<C extends Component>(component: C, options?: ViewOptions): (params: RefSubject.RefSubject<RouteComponentProps<C>>) => Fx.Fx<import("@typed/template/RenderEvent").RenderEvent, import("./view.js").VueError, import("effect/Scope").Scope | import("@typed/template/RenderTemplate").RenderTemplate | import("@typed/id/RandomValues").RandomValues>;
```


