Skip to content

细节与踩坑

关于<style></style>中引入 less 等样式文件使用绝对路径。

需要在绝对路径前面加上~才能识别为模块路径。

相关代码:

less
@import '~@cms/components/common/less/flex.less';