Closed i-mufeng closed 3 months ago
我也不知道我这种解决办法是否合理
应该是大差不差 ,我下来迭代一下
译文:弃用警告:Sass对嵌套后出现的声明的行为 规则将发生变化以匹配CSS在即将到来的 版本。要保留现有行为,请将声明移到嵌套的上方 规则。要选择加入新行为,请将声明包装在 & {}
这里面有细节 https://sass-lang.com/d/mixed-decls
方便得话你可以来PR 修改一下 嘿嘿,应该就是 把 样式的声明前移 或者 按你说的 加 & 包裹
.VPHome{
min-height: 100vh;
// xxxx
}
感谢解答,我再去深入学习一下 ❤️
警告内容
依赖版本
我的解决方案
在博客背景配置也遇到了相同的警告
修改后