What to build
Implement the template resolver that takes a page's template string and looks up the corresponding template component from the registered templates.
The resolver receives the template registry (populated at build time or from createApp) and the template ID from the page module. Returns the template component or throws a clear error if the template isn't found.
Acceptance criteria
Blocked by
What to build
Implement the template resolver that takes a page's
templatestring and looks up the corresponding template component from the registered templates.The resolver receives the template registry (populated at build time or from createApp) and the template ID from the page module. Returns the template component or throws a clear error if the template isn't found.
Acceptance criteria
resolveTemplate(templateId, registry)returns the matching template componentBlocked by