uniapp h5 webpage opens with white screen

This is what happens when you modify the default basic running path and then open index.html directly. If you run it on the nginx server, it will be ok.

Modified the default ./ path: /cloudh5

 The nginx html directory is placed under the sub-website:/cloudh5:

おすすめ

転載: blog.csdn.net/LlanyW/article/details/132996629