我的“themes.scss”文件中有以下导入
@import "components/modal";
@import "components/button";
@import "components/grid";
@import "components/calendar";
@import "components/popover";
@import "components/tab";
@import "components/icon";
我尝试过以下方式一次导入所有“.scss”文件:
@import "components/*"
不幸的是它不起作用(在Windows 8中),我在scss编译时遇到错误。
Syntax error: It's not clear which file to import for '@import "components/*"'.
Candidates:
components/_modal.scss
components/_button.scss
components/_grid.scss
components/_calendar.scss
.
.
Please delete or rename all but one of these files.
on line 8 of C:\component\theme.scss
Use --trace for backtrace.
有没有办法通过导入父文件夹而不是每个单独的scss文件来转换所有scss文件?
感谢您的帮助。