also looking at this
fix(views): tell route.serve where the components live
#5
2 files
+28
-0
| @@ -20,5 +20,8 @@ export type { RouteDefinition, RouteRegistry } from '@stacksjs/router' | ||
| 20 | 20 | export default { |
| 21 | 21 | api: 'api', |
| 22 | 22 | 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: '' }, | |
| 23 | 26 | git: { path: 'git', prefix: '' }, |
| 24 | 27 | } satisfies RouteRegistry |