sass版本更新后样式出问题
更新为"sass": "1.63.2", "sass-loader": "10.4.1", 现:"sass": "^1.26.5", "sass-loader": "^8.0.2", ios上 使用了 u-navbar组件后 固定到头部的导航会高出一截来,降sass版本就没问题
不更新sass 就编译的时候报警告 DEPRECATION WARNING [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.Moreinfo and automated migrator: https://sass-lang.com/d/import 8-@import../libs/css/components.scss" node modulesluviewpluslcomponents\u-checkboxlu-checkbox.vue 82:10root stylesheetDEPRECATION WARNING [legacy-js-api]: The legacy Js ApI is deprecated and will be removed in Dart Sass 2.0.0.More info:https://sass-lang.com/d/legacy-js-api DEPRECATIONWARNING [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0Moreinfo2Gautomated migrator: https://sass-lang.com/d/import @import"uview-plus/theme.scss' 、node modulesluview plus\componentslu-checkboxgrouplu-checkbox group.vue 16:9 root stylesheetDEPRECATION WARNING [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.Moreinfoand automated migrator:https://sass-lang.com/d/import 8- @import "../../libs/css/components.scss"
(控制台截图后到微信复制图片上的内容)
我也有这样的问题,sass版本在1.5以上在我的控制台会报很多警告,跟上述描述一样,sass版本在1.5及以下没有警告。我希望view-plus能兼容高版本的sass。
兼容高版本的sass需要破坏性变更,saas整的太激进了没法兼容。