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
I was following the Address Book example with file-based routing configuration. Everything worked fine except for the "Edit Contact" feature. When I click this button, the edit page does not appear, but the URL changes (the /edit path is added).
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.
-
I was following the Address Book example with file-based routing configuration. Everything worked fine except for the "Edit Contact" feature. When I click this button, the edit page does not appear, but the URL changes (the
/edit
path is added).This is the
routes.ts
:The "Edit" form on the contact's detail page:
And this is the
app
folder structure I followed, based on the File Router Convention:Please help me find the problem or any missing configuration.
I will appreciate your help, thank you!
Source code
You can experience this demo
Beta Was this translation helpful? Give feedback.
All reactions