我正在Drupal 8中尝试使用Bootstrap 3,并且希望继续使用bootstrap的dev分支。
在我的文章中composer.json
,我根据Drupal Packagist撰写了以下内容:
"drupal/bootstrap": "8.3.*@dev",
但是,当我运行时composer update
,它将下载8.3.0-beta2
(2015-Dec-19),而不是最新的开发版本(2016-Feb-20)。
Gathering patches for root package.
Loading composer repositories with package information
Updating dependencies (including require-dev)
Gathering patches for root package.
Gathering patches for dependencies. This might take a minute.
- Installing drupal/bootstrap (8.3.0-beta2)
Downloading: 100%
Downloading: 100%
为了确保这不是缓存问题,我运行了:
composer selfupdate
composer clear-cache
composer update
但是它做同样的事情-安装beta2。
如何强制它下载开发版本?
composer require "drupal/page_manager:1.x-dev"