vue中-webkit-box-orient:vertical打包放到线上不显示

解决方法:

  1、找到build文件夹 下的webpack.prod.conf.js文件

       2、注释new OptimizeCSSPlugin({
                          cssProcessorOptions: config.build.productionSourceMap
                          ? { safe: true, map: { inline: false } }
                         : { safe: true }
                   })

       3、在css样式的-webkit-box-orient:vertical的前后分别添加注释/*autoprefixer:off*/和/*autoprefixer:on*/

原文地址:https://www.cnblogs.com/wuweb/p/9182015.html