muddle/samples/shadcn-porter/modules/app/landing.controller.ts
2026-10-23 08:53:07 -04:00

10 lines
236 B
TypeScript

import { Controller, View, ViewRoot } from "@muddle/decorators";
@Controller("/")
@ViewRoot("./views")
export class LandingController {
@View("index.spug")
index() {
return { title: "Porter", components: ["Button", "Card"] };
}
}