Closed Will3000 closed 6 years ago
新版小程序里面自定义的components好像都用不了font-awesome icons。 如果我直接在caldendarPick.wxss @import "/components/libs/font-awesome/font-awesome.wxss";就会出现以下错误:
@import "/components/libs/font-awesome/font-awesome.wxss";
VM2542:2 Some selectors are not allowed in component wxss, including tag name selectors, ID selectors, and attribute selectors.(./components/calendarPicker/calendarPicker.wxss:150:1)This wxss file is ignored.
font-awesome.wxss 里面多了下面这样的css语法
小程序里面有些选择器不支持可能会报这样的错误,已经修改 font-awesome.wxss
感谢大大
新版小程序里面自定义的components好像都用不了font-awesome icons。 如果我直接在caldendarPick.wxss
@import "/components/libs/font-awesome/font-awesome.wxss";
就会出现以下错误:VM2542:2 Some selectors are not allowed in component wxss, including tag name selectors, ID selectors, and attribute selectors.(./components/calendarPicker/calendarPicker.wxss:150:1)This wxss file is ignored.