-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Labels
bugSomething isn't workingSomething isn't workingp1-importantSvelteKit cannot be used by a large number of people, basic functionality is missing, etc.SvelteKit cannot be used by a large number of people, basic functionality is missing, etc.
Milestone
Description
Describe the bug
Let us assume such a file structure
-routes
└login
└[email protected]
|-__error.svelte
|-__layout-init.svelte
|[email protected]
└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 [email protected], everything is ok so far, but, the __error.svelte just inherit from [email protected] and lost __layout-init.svelte that means error page can't load initialization content ( which should inherit from -> [email protected] -> __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.0Severity
serious, but I can work around it
Additional Information
No response
The-Noah, avarun42, gyurielf, peppasd, dlebech and 2 more
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingp1-importantSvelteKit cannot be used by a large number of people, basic functionality is missing, etc.SvelteKit cannot be used by a large number of people, basic functionality is missing, etc.