H5 packaged into uni-app, the relative path to the path, during the development phase, the agent may be disposed in devServer

H5 node can support setting mainfest.json in publicPath is: './' package after a relative path but you will find that there is a problem is the next tabbar case you can not find the icon you need to manually change it is packaged after of this document index.xxxxx.js E. uniConfig.router = {MODE: "the hash", Base: "/"} into E. uniConfig.router = {MODE: "the hash", Base: "./"}

uni-app in pictures of lazy loading

http://ask.dcloud.net.cn/article/35759

Guess you like

Origin blog.csdn.net/memedadexixaofeifei/article/details/93722294