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

Allow __error to use a custom layout #5244

Closed
Alekuso opened this issue Jun 22, 2022 · 1 comment
Closed

Allow __error to use a custom layout #5244

Alekuso opened this issue Jun 22, 2022 · 1 comment

Comments

@Alekuso
Copy link

Alekuso commented Jun 22, 2022

Describe the problem

Until now, the error page only uses the default layout which limits a lot Sveltekit. This might be a problem for some kind of sites that for example, wants to use a "clear" layout for their error page.

Describe the proposed solution

One of the best solutions I've imagined is to be able to name it like what pages do to get a layout.
For example: __error@customlayout.svelte which will use the __layout-customlayout.svelte layout.

Alternatives considered

No response

Importance

nice to have

Additional Information

No response

@Conduitry
Copy link
Member

Duplicate of #4582.

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

No branches or pull requests

2 participants