[Bug] Vue 项目在启动时显示 warning:autoprefixer: end value has mixed support, consider u

534 阅读1分钟

我正在参加「掘金·启航计划」

一、问题描述

执行yarn serve启动Vue项目时,虽然正常运行,但是显示warnning: image.png

二、解决方案

参见下列回答:
postcss-preset-env: end value has mixed support, consider using flex-end instead

即将css文件中使用的所有flex布局end、start->flex-end、flex-start
代码中报错的两处地方也确实对应:

image.png