Update +error.svelte
file template in vscode extension
#2637
Labels
+error.svelte
file template in vscode extension
#2637
Describe the bug
When using the extension to generate a new
+error.svelte
file it gives this output:This uses the deprecated
$app/stores
moduleReproduction
In VSCode open the file explorer, hover over any directory in
src/routes
and right click, chooseSvelteKit Files
>SvelteKit: Create +error.svelte
, then open the newly created file and notice the deprecation notice overpage
import.Expected behaviour
It should use this template instead:
Where it uses
$app/state
module instead of$app/stores
and treatpage
as a state instead of a store, so no$
signSystem Info
Which package is the issue about?
Svelte for VS Code extension
Additional Information, eg. Screenshots
No response
The text was updated successfully, but these errors were encountered: