【问题标题】:Setting the "config.fxp-asset.installer-paths" option in composer在作曲家中设置“config.fxp-asset.installer-paths”选项
【发布时间】:2017-07-07 16:15:28
【问题描述】:

当我运行 composer update 时,我在继续更新之前收到以下警告。

The "extra.asset-installer-paths" option is deprecated, use the "config.fxp-asset.installer-paths" option

在哪里/如何更改这些设置?

【问题讨论】:

    标签: php configuration composer-php


    【解决方案1】:

    extra.asset-installer-paths 部分替换为:

        "config": {
            "fxp-asset": {
                "installer-paths": {
                    "npm-asset-library": "vendor/npm",
                    "bower-asset-library": "vendor/bower"
                }
            },
        }
    

    Define a custom directory for the assets installation

    【讨论】:

      猜你喜欢
      • 2018-04-22
      • 2015-09-17
      • 2022-10-18
      • 2021-10-18
      • 1970-01-01
      • 2013-06-19
      • 1970-01-01
      • 2014-05-15
      • 1970-01-01
      相关资源
      最近更新 更多