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

                            主站蜘蛛池模板: 在线国产小视频 | 男人久久天堂 | 激情国产视频 | 国产精品爱久久久久久久 | 中文字幕av在线播放 | 欧美一区二区免费 | 欧美日韩在线一区二区 | 欧美成人h版在线观看 | 亚洲视频一区在线 | 91精品久久久久久久久中文字幕 | 亚洲aⅴ一区二区 | 黄片毛片免费观看 | 亚洲精品一区二区在线观看 | 日本久草 | 欧美精三区欧美精三区 | 欧美日韩一区二区三区四区 | 一区二区三区四区在线视频 | 欧美日韩三级 | 中文字幕在线看 | 日韩欧美大片 | 欧美一级片在线 | 羞羞视频在线观免费观看 | 日韩欧美视频在线 | 免费在线观看成人 | 国产在线精品一区二区 | 亚洲欧美在线视频 | 久久午夜精品 | 午夜视频网 | 亚洲黄色视屏 | 亚洲人成网亚洲欧洲无码 | 在线亚州| 亚州午夜精品 | aa级毛片毛片免费观看久 | 欧美一级片a | 不卡视频在线 | 天天干免费视频 | 成年人在线视频 | av网站在线免费观看 | 在线不卡 | 武道仙尊动漫在线观看 | 日日夜夜精品视频 |