Closed
Description
Describe the bug
Let us assume such a file structure
-routes
└login
└index@init.svelte
|-__error.svelte
|-__layout-init.svelte
|-__layout@init.svelte
└index.svelte
__layout-init.svelte
used to load initialization content such as shared styles and external js files for whole site, login page use just __layout-init.svelte
cuz it's a additional page that don't need __layout@init.svelte
, everything is ok so far, but, the __error.svelte
just inherit from __layout@init.svelte
and lost __layout-init.svelte
that means error page can't load initialization content ( which should inherit from -> __layout@init.svelte
-> __layout-init.svelte
)
I think it's a bug or design to?
Reproduction
Logs
No response
System Info
Browsers:
Chrome: 101.0.4951.64
Edge: 101.0.1210.47
Firefox: 100.0
Safari: 15.4
npmPackages:
@sveltejs/adapter-auto: next => 1.0.0-next.40
@sveltejs/adapter-static: ^1.0.0-next.30 => 1.0.0-next.30
@sveltejs/kit: next => 1.0.0-next.326
svelte: ^3.44.0 => 3.48.0
Severity
serious, but I can work around it
Additional Information
No response