In this project, because the output path was not set correctly, the initial publicPath was set to ‘./ ‘, change to/to find the page.

When set to./ :

Because there is no parent directory in the root directory, HTML does not get resources when set to / :

This article is very detailedwww.cnblogs.com/SamWeb/p/83…