新建一个postcss.config.js 写上下面代码
module.exports = { plugins: { 'autoprefixer': {browsers: 'last 5 version'} } } `` ####再次npm run dev就可以解决了