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
If I click Add button, iit goes well, it will render +error.svelte page.
But the problem is if i call/type, let's say http://localhost:5173/contacts in browser directly, andI click Add button, it wiill not render +error.svelte page.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I have a link in +page.svelte page in routes folder
clicking it will direct to contacts route (routes/contacts consisting 3 files +page.server.js, +page.svelte, +error.svelte).
If I click Add button, iit goes well, it will render +error.svelte page.
But the problem is if i call/type, let's say http://localhost:5173/contacts in browser directly, andI click Add button, it wiill not render +error.svelte page.
Can anyone explain where the problem is ?
Thank You.
Beta Was this translation helpful? Give feedback.
All reactions