You can see a line like this in the dist index: We're sorry but xxxxxxx doesn't work properly without JavaScript enabled.
The high probability is:
Add pubilcPath:'./' in vue.config.js (note that the relative path ./ is used here instead of the absolute path)
Change routing into hash mode
Reason: Vue routing is divided into history mode and hash mode, and you choose the default history mode when you create a new Vue project.
So when you execute npm run build and there is no public path so the process.env.Base_URL in the screenshot cannot be loaded normally, you can also replace it with './'
If you just want the history mode, you can also use it in the local browser./But some resources cannot be loaded normally.
Tips: Use putstate to modify the history path