Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Final (I think) stepping stone PR towards #519/#626 #893

Merged
merged 9 commits into from
Apr 5, 2021
Merged

Conversation

Rich-Harris
Copy link
Member

Phew. I think I can start making actual changes to functionality now. The big change here is that each component's entry in the manifest includes the root layout as well as intermediate layouts (if such there be) and the leaf component. This simplifies things a bit but also paves the way for pages to have a different 'root' layout (i.e. the most recent $layout.reset.svelte component).

It also adds specific paths for rendering error pages. This is important because once we have nested error pages, 'render an error page' and 'render a page that happened to error' will be subtly different things; the first always means 'use the default layout/error combination' whereas the second could involve rendering multiple layout components and a specific error leaf component that might not be the default.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant