标题: 重新安装依赖后,sass报警告Sass‘s behavior for declarations that appea [打印本页] 作者: 缠丝猫 时间: 2024-7-16 21:26 标题: 重新安装依赖后,sass报警告Sass‘s behavior for declarations that appea 本日拉代替码,重新实验pnpm i安装依赖后。发现终端出来了一堆sass的警告,
Deprecation Warning: Sass’s behavior for declarations that appear
after nested rules will be changing to match the behavior specified by
CSS in an upcoming version. To keep the existing behavior, move the
declaration above the nested rule. To opt into the new behavior, wrap
the declaration in & {}.
More info: https://sass-lang.com/d/mixed-decls
┌──> node_modules\element-plus\theme-chalk\src\mixins_button.scss
159│ padding: $padding-vertical $padding-horizontal; │
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ declaration ╵
┌──> node_modules\element-plus\theme-chalk\src\button.scss 71 │ ┌ &