When our project adopts the h5 one-click packaging method of uni-app, a white screen will appear after deploying to the online server. It may be that our basic project path is not set correctly, resulting in the file not being found, so that the white screen is accessed .
So how do we solve it?
1. Find the manifest.json file of the project file of uni-app
2. Find the web configuration and modify the running base path to " ./ " (note: it should be placed under the root path of your project file)
2.1 If what you want to place is not the root path, for example, if you want to put it in the h5 folder, then your base path should be set to " /jrH5/ "
Finally, I hope I can help you. If it helps you, I hope you can give me a thumbs up!
Originality is not easy! ! !