久久久久久久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>

                            主站蜘蛛池模板: 日本免费一区二区三区四区 | 精品国产乱码久久久久久蜜柚 | 国产精品爱久久久久久久 | 在线观看视频一区 | 亚洲欧美日韩在线 | 国产成人久久精品 | 91精品国产综合久久久久 | 中文字幕在线三区 | 国产精品伦一区二区三级视频 | 二区国产 | 一区二区三区高清 | 欧美888 | 看毛片的网站 | 一二区成人影院电影网 | 国产精品高潮呻吟久久久久 | 成人影院网站ww555久久精品 | 免费在线观看av的网站 | 亚洲国产成人精品女人久久久野战 | 国内自拍偷拍 | 欧美日韩在线一区二区 | 天天爽夜夜爽精品视频婷婷 | 午夜爽爽男女免费观看hd | 亚洲国产精品视频一区 | 精品久久精品 | 亚洲+变态+欧美+另类+精品 | 午夜精品久久久久久久久久久久久 | 色婷婷影院 | 91毛片网| 国产激情精品一区二区三区 | 国产日韩欧美一区二区在线播放 | 欧美激情精品久久久久 | 91网在线观看 | 狠狠爱综合 | 黄色a视频| 欧美综合视频在线 | 99re视频在线| 亚洲+变态+欧美+另类+精品 | 天天综合久久 | 亚洲欧美精品 | 欧美一区二区在线观看 | 欧美日韩成人影院 |