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

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

      <small id='1EKwO'></small><noframes id='1EKwO'>

      Grunt、Gulp.js 和 Bower 有什么區別?為什么&amp;什

      What are the differences between Grunt, Gulp.js and Bower? Why amp; when to use them?(Grunt、Gulp.js 和 Bower 有什么區別?為什么amp;什么時候使用它們?)

      • <tfoot id='2F8yv'></tfoot>
          <bdo id='2F8yv'></bdo><ul id='2F8yv'></ul>

          <small id='2F8yv'></small><noframes id='2F8yv'>

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

            <legend id='2F8yv'><style id='2F8yv'><dir id='2F8yv'><q id='2F8yv'></q></dir></style></legend>
                  <tbody id='2F8yv'></tbody>
                本文介紹了Grunt、Gulp.js 和 Bower 有什么區別?為什么&amp;什么時候使用它們?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                問題描述

                限時送ChatGPT賬號..

                Grunt、Gulp.js 和 Bower 之間有什么區別?為什么&何時以及如何使用它們?

                我現在看到,大多數前端項目都使用上述工具,雖然我在使用它們就像在我最近的項目中一樣,我正在使用 gulp 使用像

                這樣的腳本來構建 HTML、CSS 和 JavaScript

                $ gulp build

                但是對所有這些前端框架都不太了解,請幫我對 Grunt、Gulp.js 和 Bower 有一個整體的了解.

                解決方案

                在本質上和很多細節上,Gulp 和 Grunt 都是用于自動執行一系列相互依賴的任務的系統,通常用于定義項目的構建",例如現代風格在 make 工具上.通常,一個項目使用其中一個或另一個,但不能同時使用兩者(無論如何,對于相同的部分).

                Bower 不同,它經常與 Gulp 或 Grunt 一起使用:它是客戶端庫的包管理器,易于維護這些庫是最新的,以標準化的方式指定它們及其依賴項,等等.

                他們網站上的 Gulp 單線:

                <塊引用>

                自動化和增強您的工作流程

                他們的 Grunt 單線:

                <塊引用>

                JavaScript 任務運行器

                還有鮑爾:

                <塊引用>

                網絡包管理器

                <小時><塊引用>

                為什么&什么時候用?

                我認為以上內容適用于 Gulp 和 Grunt:如果您有想要自動化的任務(例如構建具有縮小、連接、壓縮等的網站的發布版本;或者查看文件以進行更改并重新運行當任務發生變化以支持快速開發時),您可以使用 Gulp 和 Grunt.

                但這不僅僅是構建.您可以將 Gulp 和 Grunt 用于需要自動化的任何一系列任務.

                Bower 可用于管理項目中的客戶端庫.您可以使用 Bower 安裝最新版本的 Bootstrap,它會將相關文件放在項目的標準位置.如果出現更新的 Bootstrap,Bower 可以更新這些文件.如果一個庫依賴于其他庫(例如,Bootstrap 的 JS 依賴于 jQuery),Bower 會幫助管理該樹.Grunt 有一些有用的任務(我假設是 Gulp),它們甚至可以自動將腳本和鏈接標簽添加到這些庫的 HTML 中,方法是在源 HTML 中有一個占位符,基本上說把 Bower 庫放在這里"./p>

                What are the differences between Grunt, Gulp.js and Bower? Why & when and how to use them?

                I've seen nowadays, most of the front-end project using the above tools, though I am using them like in my recent project I am using gulp to build HTML, CSS and JavaScript using a script like

                $ gulp build
                

                but don't have much understanding of all these front-end frameworks, please help me get an overall understanding of Grunt, Gulp.js and Bower.

                解決方案

                In essence and with a lot of hand-waving away of details, Gulp and Grunt are both systems for automating serieses of inter-dependent tasks, commonly used for defining the "build" of your project, like a modern take on the make tool. Typically a project uses one of them or the other, but not both at the same time (for the same parts, anyway).

                Bower is different, and frequently used with either Gulp or Grunt: It's a package manager for client-side libraries, making it easy to keep those libs up to date, specify them and their dependencies in a standardized way, and so forth.

                The Gulp one-liner from their website:

                Automate and enhance your workflow

                The Grunt one-liner from theirs:

                The JavaScript Task Runner

                And Bower:

                A package manager for the web


                Why & when to use them?

                I think the above covers that for Gulp and Grunt: If you have tasks you want to automate (like building the release version of a website with minification, concatenation, compression, etc.; or watching files for changes and re-running tasks when they change to support rapid development), you can use Gulp and Grunt for that.

                But it's not just builds. You can use Gulp and Grunt for any series of tasks that you need to automate.

                Bower is useful for managing the client-side libraries in your projects. You can use Bower to install, say, the latest version of Bootstrap, and it will put the relevant files in standard locations in your project. Bower can update those files if a newer Bootstrap comes out. If a library depends on other libraries (Bootstrap's JS relies on jQuery, for instance), Bower helps manage that tree. There are helpful tasks for Grunt (and I assume for Gulp) that can even automate adding the script and link tags to your HTML for those libraries, by having a placeholder in your source HTML that basically says "put the Bower libs here."

                這篇關于Grunt、Gulp.js 和 Bower 有什么區別?為什么&amp;什么時候使用它們?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持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 崩潰)
                • <small id='svenj'></small><noframes id='svenj'>

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

                        <tbody id='svenj'></tbody>
                      <legend id='svenj'><style id='svenj'><dir id='svenj'><q id='svenj'></q></dir></style></legend><tfoot id='svenj'></tfoot>
                      • <bdo id='svenj'></bdo><ul id='svenj'></ul>

                          主站蜘蛛池模板: 免费成人高清在线视频 | 久久午夜精品福利一区二区 | 日本精品一区二区三区在线观看视频 | 国产精品久久影院 | 国产精品永久久久久 | 日日夜夜草 | 国产日韩精品久久 | 亚洲毛片在线 | 6996成人影院网在线播放 | 爱爱视频在线观看 | 久久久久一区 | 久久久入口 | 亚洲国产成人久久综合一区,久久久国产99 | 免费成人国产 | 性色av一区二区三区 | 国产精品精品3d动漫 | 免费看91 | 午夜精品久久久久久久久久久久 | 一级免费毛片 | 一级大黄 | 97精品国产97久久久久久免费 | 伊大人久久 | 久久久久国产精品一区二区 | 国产日韩欧美激情 | 成人在线视频一区 | 91视频一区二区三区 | 91视频免费黄 | 华人黄网站大全 | 欧美综合国产精品久久丁香 | 久久精品国产久精国产 | 亚洲日本一区二区三区四区 | 国产精品一二区 | 狠狠热视频 | 国产一区二区视频在线观看 | 亚洲精品91 | 日韩午夜精品 | 一区二区国产精品 | 欧美午夜在线 | 久在线视频 | 精品中文字幕在线观看 | 国产欧美一区二区三区日本久久久 |