久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

      <i id='iZCTP'><tr id='iZCTP'><dt id='iZCTP'><q id='iZCTP'><span id='iZCTP'><b id='iZCTP'><form id='iZCTP'><ins id='iZCTP'></ins><ul id='iZCTP'></ul><sub id='iZCTP'></sub></form><legend id='iZCTP'></legend><bdo id='iZCTP'><pre id='iZCTP'><center id='iZCTP'></center></pre></bdo></b><th id='iZCTP'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='iZCTP'><tfoot id='iZCTP'></tfoot><dl id='iZCTP'><fieldset id='iZCTP'></fieldset></dl></div>

      <small id='iZCTP'></small><noframes id='iZCTP'>

      <tfoot id='iZCTP'></tfoot>

    1. <legend id='iZCTP'><style id='iZCTP'><dir id='iZCTP'><q id='iZCTP'></q></dir></style></legend>
      • <bdo id='iZCTP'></bdo><ul id='iZCTP'></ul>

        Gulp 不創建文件夾?

        Gulp doesn#39;t create folder?(Gulp 不創建文件夾?)
            <tbody id='tnrkb'></tbody>
            <legend id='tnrkb'><style id='tnrkb'><dir id='tnrkb'><q id='tnrkb'></q></dir></style></legend>
            <i id='tnrkb'><tr id='tnrkb'><dt id='tnrkb'><q id='tnrkb'><span id='tnrkb'><b id='tnrkb'><form id='tnrkb'><ins id='tnrkb'></ins><ul id='tnrkb'></ul><sub id='tnrkb'></sub></form><legend id='tnrkb'></legend><bdo id='tnrkb'><pre id='tnrkb'><center id='tnrkb'></center></pre></bdo></b><th id='tnrkb'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='tnrkb'><tfoot id='tnrkb'></tfoot><dl id='tnrkb'><fieldset id='tnrkb'></fieldset></dl></div>
          1. <tfoot id='tnrkb'></tfoot>

                <small id='tnrkb'></small><noframes id='tnrkb'>

                  <bdo id='tnrkb'></bdo><ul id='tnrkb'></ul>

                  本文介紹了Gulp 不創建文件夾?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  限時送ChatGPT賬號..

                  當我縮小我的 css 時,我得到了一個不正確的路徑,可以從各種庫中獲取字體.所以,我創建了一個任務,將字體從我的 bower_components/ 文件夾移動到 dist/public/fonts:

                  When I minified my css, I was left with an incorrect path to the fonts from various libraries. So, I created a task to move the fonts from my bower_components/ folder to dist/public/fonts:

                  gulp.task('doit', function() {
                      gulp.src(["public/bower_components/bootstrap/dist/fonts/*", "public/bower_components/font-awesome/fonts/*"])
                          .pipe(gulp.dest("dist/public/fonts"));
                  });
                  

                  基本上,這應該將我需要的任何字體放入通用字體文件夾中,我的縮小 css 現在應該能夠訪問該文件夾.

                  Basically that should throw any fonts I need into a generic fonts folder, which my minified css should now be able to access.

                  但是在我運行它之后,dist/public/fonts 不存在.為什么不呢?

                  But after I run it, dist/public/fonts doesn't exist. Why not?

                  推薦答案

                  我不完全理解你在 src-ing (public/bower_components?),但我相信你會想要使用 gulp.src 的 base 選項.

                  I don't fully understand the paths you're src-ing (public/bower_components?), but I believe you'll want to use the base option for gulp.src.

                  因為這兩個 glob 將具有不同的基礎,我建議將其分成兩個單獨的任務,并構建第三個以將它們聚合成一個.否則你需要進入合并流或 addSrc 插件.

                  Because these two globs will have different bases, I'd suggest breaking it into two separate tasks, and building a third to aggregate them into a single. Otherwise you'll need to get into merging streams or the addSrc plugin.

                  gulp.task('copy:fonts:bootstrap', function () {
                      return gulp.src(
                          [
                              'public/bower_components/bootstrap/dist/fonts/**/*'
                          ],
                          {
                              base: 'public/bower_components/bootstrap/dist/fonts'
                          }
                      )
                          .pipe(gulp.dest('dist/public/fonts'));
                  });
                  
                  gulp.task('copy:fonts:fontawesome', function () {
                      return gulp.src(
                          [
                              'public/bower_components/font-awesome/fonts/**/*'
                          ],
                          {
                              base: 'public/bower_components/font-awesome/fonts'
                          }
                      )
                          .pipe(gulp.dest('dist/public/fonts'));
                  });
                  
                  gulp.task('copy:fonts', ['copy:fonts:bootstrap', 'copy:fonts:fontawesome']);
                  

                  這篇關于Gulp 不創建文件夾?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                  【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                  相關文檔推薦

                  Browserify, Babel 6, Gulp - Unexpected token on spread operator(Browserify,Babel 6,Gulp - 傳播運算符上的意外令牌)
                  Is it possible to pass a flag to Gulp to have it run tasks in different ways?(是否可以將標志傳遞給 Gulp 以使其以不同的方式運行任務?)
                  Why do we need to install gulp globally and locally?(為什么我們需要在全局和本地安裝 gulp?)
                  How to run Gulp tasks sequentially one after the other(如何一個接一個地依次運行 Gulp 任務)
                  Stylesheet not loaded because of MIME-type(由于 MIME 類型而未加載樣式表)
                  Visual Studio 2015 crashes when opening Javascript files(打開 Javascript 文件時 Visual Studio 2015 崩潰)
                    <bdo id='tjpdf'></bdo><ul id='tjpdf'></ul>
                          <tbody id='tjpdf'></tbody>
                      • <small id='tjpdf'></small><noframes id='tjpdf'>

                        1. <i id='tjpdf'><tr id='tjpdf'><dt id='tjpdf'><q id='tjpdf'><span id='tjpdf'><b id='tjpdf'><form id='tjpdf'><ins id='tjpdf'></ins><ul id='tjpdf'></ul><sub id='tjpdf'></sub></form><legend id='tjpdf'></legend><bdo id='tjpdf'><pre id='tjpdf'><center id='tjpdf'></center></pre></bdo></b><th id='tjpdf'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='tjpdf'><tfoot id='tjpdf'></tfoot><dl id='tjpdf'><fieldset id='tjpdf'></fieldset></dl></div>
                          <legend id='tjpdf'><style id='tjpdf'><dir id='tjpdf'><q id='tjpdf'></q></dir></style></legend>

                          1. <tfoot id='tjpdf'></tfoot>

                            主站蜘蛛池模板: 免费v片 | 在线看黄色片 | av免费在线观看网站 | 午夜影院福利 | 国产精品一区久久 | 一级片在线观看视频 | 一级片大全 | 99热99re6国产在线播放 | 日本一级淫片色费放 | 黄色一级大片 | 黄色在线观看免费 | 欧美黄视频 | a毛片视频 | 成人黄色大片 | 国产欧美一区二区三区视频在线观看 | 性久久 | 日韩精品视频免费 | 国产激情视频在线 | 国产小视频在线 | 97精品国产97久久久久久免费 | 日韩精品久久久久久免费 | 黑人巨大猛烈捣出白浆 | 国产a视频| 日韩色av| 久久久亚洲一区 | a级片在线播放 | www久久久| 放几个免费的毛片出来看 | 亚洲精品91天天久久人人 | 五月天婷婷在线观看 | 在线视频日韩 | 九九久久免费视频 | 久久精品国产精品 | 美女视频福利 | 日韩午夜精品 | 九九精品免费视频 | 国产福利一区二区 | 国产精品久久久久久久午夜 | 最近中文字幕在线 | 成人在线a | 国产成人精品av在线观 |