作曲家始终下载Fontend Assets



每次我使用作曲家安装到yii2时,它总是下载前端资产。太慢了!我该如何解决?这就是作曲家下载的内容,每次我安装扩展名

这是composer.json "name": "yiisoft/yii2-app-advanced", "description": "Yii 2 Advanced Project Template", "keywords": [ "yii2", "framework", "advanced", "project template" ], "homepage": "http://www.yiiframework.com/", "type": "project", "license": "BSD-3-Clause", "support": { "issues": "https://github.com/yiisoft/yii2/issues?state=open", "forum": "http://www.yiiframework.com/forum/", "wiki": "http://www.yiiframework.com/wiki/", "irc": "irc://irc.freenode.net/yii", "source": "https://github.com/yiisoft/yii2" }, "minimum-stability": "stable", "require": { "php": ">=5.4.0", "yiisoft/yii2": "~2.0.6", "yiisoft/yii2-bootstrap": "~2.0.0", "yiisoft/yii2-swiftmailer": "~2.0.0 || ~2.1.0", "dmstr/yii2-adminlte-asset": "2.*", "ijackua/yii2-lepture-markdown-editor-widget": "dev-master", "aliyuncs/oss-sdk-php": "^2.2", "yiichina/yii2-md-editor": "*" }, "require-dev": { "yiisoft/yii2-debug": "~2.0.0", "yiisoft/yii2-gii": "~2.0.0", "yiisoft/yii2-faker": "~2.0.0", "codeception/base": "^2.2.3", "codeception/verify": "~0.3.1" }, "config": { "process-timeout": 1800 }, "repositories": { "0": { "type": "composer", "url": "https://packagist.phpcomposer.com" }, "packagist": { "type": "composer", "url": "https://packagist.laravel-china.org" } } }

这是FXP/Composer-Asset-Plugin的问题,YII2用于下载NPM和Bower Assets。每次添加新库时,插件都会列举所有版本的NPM以及项目所需的Bower资产,因此从Github下载了很多数据。官方YII2开发人员正在考虑搬到NPM的更好的替代软件包经理以及bower,例如https://asset-packagist.org/https://github.com/yiisoft/yiii2/issues/13064

相关内容

  • 没有找到相关文章

最新更新