【发布时间】:2023-03-27 22:25:01
【问题描述】:
大家好,我想在 SCSS 中创建一个用于导入文件的变量:
$theme : 'my_theme';
@import "#{$theme}/import";
但这会给我这个错误:
Syntax error: File to import not found or unreadable: #{$theme}/import.
我还没有找到有关这方面的信息,只有那是不可能的。 是否存在使其工作的解决方法?
谢谢
【问题讨论】:
标签: sass