How to throw an Error on an unknown route?
I define the content for each route like so:
If there is an unknown route like
/baz
, no component will be rendered (leading to a blank page in my case). However I would like to throw an Error if that happens. What would be the best way to achieve this?2 Replies
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Thanks I added this: