簡體   English   中英

Yeoman / Grunt:向項目添加子目錄

[英]Yeoman / Grunt: adding subdirectories to project

我正在與Yeoman建立網絡,並且正在嘗試創建以下結構:

app/index.html -> /
app/support/index.html -> /support
...etc

當我運行grunt構建dist目錄時,問題就來了。 support子目錄中的文件未得到處理。

如何做到這一點?

這取決於您使用的生成器,但是大多數情況下,您需要將Gruntfile.js*.html{,*/}*.htmlGruntfile.js**/*.html以便它也可以在子目錄中查找。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM