You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In VSCode open the file explorer, hover over any directory in src/routes and right click, choose SvelteKit Files > SvelteKit: Create +error.svelte, then open the newly created file and notice the deprecation notice over page import.
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: