Closed JPustkuchen closed 2 years ago
To be able to install Drupal modules using asset-packagist, the following parts are missing:
Details: http://lightning.acquia.com/blog/round-your-front-end-javascript-libraries-composer
In extra:
extra
"installer-types": [ "npm-asset", "bower-asset" ], "installer-paths": { "web/core": [ "type:drupal-core" ], "web/modules/contrib/{$name}": [ "type:drupal-module" ], "web/modules/custom/{$name}": [ "type:drupal-custom-module" ], "web/profiles/contrib/{$name}": [ "type:drupal-profile" ], "web/themes/contrib/{$name}": [ "type:drupal-theme" ], "web/themes/custom/{$name}": [ "type:drupal-custom-theme" ], "web/libraries/{$name}": [ "type:npm-asset", "type:bower-asset", "type:drupal-library" ], "drush/Commands/contrib/{$name}": [ "type:drupal-drush" ], "web/libraries/ckeditor/plugins/{$name}": [ "vendor:ckeditor-plugin" ] },
see "type:npm-asset" / "type:bower-asset"
In repositories:
repositories
"repositories": [{ "type": "composer", "url": "https://packages.drupal.org/8" }, [...]
This feature is implemented since https://github.com/webksde/ddev-vscode-devcontainer-drupal9-template/commit/433bbcb1d1b28c6ed1be178e0ccafe3a2d0f093f, just try using the newest version!
👍
To be able to install Drupal modules using asset-packagist, the following parts are missing:
Details: http://lightning.acquia.com/blog/round-your-front-end-javascript-libraries-composer
In
extra
:see "type:npm-asset" / "type:bower-asset"
In
repositories
: