【发布时间】:2023-03-23 18:31:01
【问题描述】:
我有这样的文件结构
client
stylesheet
main.import.styl
template
a
a.styl
b
b.styl
我尝试像这样在a.styl和b.styl中导入main.import.styl
@import main.import
(我也尝试了其他选项,如/main.import、./... 等)结果我有failed to locate @import main.import.styl
但如果我将 a 和 b 文件放入 stylesheet 一切正常
我的问题很简单: 文件在不同文件夹中看不到对方
folder1
a.import.styl
folder2
b.styl
【问题讨论】: