[英]Yeoman / Grunt: adding subdirectories to project
我正在與Yeoman
建立網絡,並且正在嘗試創建以下結構:
app/index.html -> /
app/support/index.html -> /support
...etc
當我運行grunt構建dist目錄時,問題就來了。 support子目錄中的文件未得到處理。
如何做到這一點?
這取決於您使用的生成器,但是大多數情況下,您需要將Gruntfile.js
的*.html
或{,*/}*.html
行Gruntfile.js
為**/*.html
以便它也可以在子目錄中查找。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.