I configured it in ngnix.
Question 1: There will be a problem after refreshing. I think there is a problem with my ngnix configuration, which led me to return the js and css files to index.html when refreshing the page.
Question 2: If I enter an address casually on the page, I will query the path of the url”http://localhost:8888/user “I entered incorrectly to find the css file, and my css is in the root directory. How can I solve this problem?