because I want to make a simple demo, according to history-api, as shown in the figure, it will display correctly when you enter and click on various navigation for the first time, but once you click the Refresh button, you will not be able to find this page. I wonder if anyone knows how to avoid this problem.
I know why this happens, but I don"t know how to solve it.
I tried to use"- sharp", but I don"t think I used history-api correctly if I used-sharp.