• <bdo id='5pGqX'></bdo><ul id='5pGqX'></ul>

  • <small id='5pGqX'></small><noframes id='5pGqX'>

  • <legend id='5pGqX'><style id='5pGqX'><dir id='5pGqX'><q id='5pGqX'></q></dir></style></legend>

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

      1. 将 Bower 组件安装到两个不同的目录中?

        Install Bower components into two different directories?(将 Bower 组件安装到两个不同的目录中?)
        <legend id='hcqLx'><style id='hcqLx'><dir id='hcqLx'><q id='hcqLx'></q></dir></style></legend>
        <i id='hcqLx'><tr id='hcqLx'><dt id='hcqLx'><q id='hcqLx'><span id='hcqLx'><b id='hcqLx'><form id='hcqLx'><ins id='hcqLx'></ins><ul id='hcqLx'></ul><sub id='hcqLx'></sub></form><legend id='hcqLx'></legend><bdo id='hcqLx'><pre id='hcqLx'><center id='hcqLx'></center></pre></bdo></b><th id='hcqLx'></th></span></q></dt></tr></i><div id='hcqLx'><tfoot id='hcqLx'></tfoot><dl id='hcqLx'><fieldset id='hcqLx'></fieldset></dl></div>

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

              <tfoot id='hcqLx'></tfoot>

            • <small id='hcqLx'></small><noframes id='hcqLx'>

                <tbody id='hcqLx'></tbody>

                • 本文介绍了将 Bower 组件安装到两个不同的目录中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  在使用 CSS 和 JS 组件时,是否有可能,甚至,将它们安装到不同的目录是否有意义?

                  When using CSS and JS components, is it possible, or even, does it make sense to install them to different directories?

                  .
                  |-- app
                      |-- scripts
                          |-- components           # js components go here
                              |-- backbone-amd
                              |-- etc
                      |-- styles
                          |-- modules
                          |-- partials
                          |-- components           # sass components go here
                              |-- normalize.scss
                              |-- etc
                  

                  以这种方式组织项目的最有效方式是什么?是否有一个很好的 Grunt 任务来实现为开发环境集成 bower 安装的 sass 组件的目标?

                  What's the most efficient way to structure a project organized as such? Is there a good Grunt task to accomplish the goal of integrating bower installed sass components for a development environment?

                  推荐答案

                  Bower 需要跟踪您安装的每个组件.如果他们分散在多个位置,那将非常困难.对于 Sass 开发,只需将 components 文件夹放在 Sass 搜索路径中即可.

                  Bower needs to keep track of every component you install. That would be very hard if they were split up in multiple locations. For Sass development, just put the components folder in the Sass search path.

                  如果您坚持这样做,有 grunt 任务可以帮助您拆分它:

                  There are grunt tasks that can assist you in splitting it up if you insist on doing that:

                  (虽然不推荐)

                  • grunt-bower-task
                  • grunt-bower-organiser
                  • grunt-bower

                  这篇关于将 Bower 组件安装到两个不同的目录中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  在开发JS过程中,会经常遇到两个小数相运算的情况,但是运算结果却与预期不同,调试一下发现计算结果竟然有那么长一串尾巴。如下图所示: 产生原因: JavaScript对小数运算会先转成二进制,运算完毕再转回十进制,过程中会有丢失,不过不是所有的小数间运算会
                  问题描述: 在javascript中引用js代码,然后导致反斜杠丢失,发现字符串中的所有\信息丢失。比如在js中引用input type=text onkeyup=value=value.replace(/[^\d]/g,) ,结果导致正则表达式中的\丢失。 问题原因: 该字符串含有\,javascript对字符串进行了转
                  Rails/Javascript: How to inject rails variables into (very) simple javascript(Rails/Javascript:如何将 rails 变量注入(非常)简单的 javascript)
                  CoffeeScript always returns in anonymous function(CoffeeScript 总是以匿名函数返回)
                  Ordinals in words javascript(javascript中的序数)
                  getFullYear returns year before on first day of year(getFullYear 在一年的第一天返回前一年)
                    <tbody id='nRncl'></tbody>

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

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