Vue project packaging exceptions

1. Webpack packages the vue project. Just add a dot in front of it.

Or package the dist file index.html and the page is blank

assetsPublicPath: './'

 2.Vue packaging exception comments this code

3.The element-icon does not display after Vue is packaged.

Solution: Find the utils.js file and add publicPath: '…/…/'

Guess you like

Origin blog.csdn.net/m0_61601708/article/details/129946234