ReviewOS

also looking at this

reviewos/reviewos.org

fix(views): tell route.serve where the components live

#5
Merged glennmichael123 wants to merge fix/stx-components-route-serve into main
2 files +28 -0
app/Routes.tsmodified+3-0
Changes to app/Routes.ts
@@ -20,5 +20,8 @@ export type { RouteDefinition, RouteRegistry } from '@stacksjs/router'
2020export default {
2121 api: 'api',
2222 attachments: { path: 'attachments', prefix: '' },
23 // Registers nothing; configures the renderer. See the file for why it must
24 // load with the routes rather than in any one server's boot script.
25 views: { path: 'views', prefix: '' },
2326 git: { path: 'git', prefix: '' },
2427} satisfies RouteRegistry