I have a menu component use to navigate internally in my website like :
<Link href="/containers/grades/List" as="/grades">
I use "as" to keep clean my URL but the problem is the navigated page cannot be refreshed; if I refresh the page I get 404 error.
I know that "as" is used for showing a custom address in URL but I need a way to get to the component from URL
in this case, I want to navigate from "/grades" to "/containers/grades/List"
is there any suggestion?