Closed (works as designed)
Project:
Chosen
Version:
3.0.0
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
21 Sep 2020 at 18:58 UTC
Updated:
29 Dec 2021 at 15:16 UTC
Jump to comment: Most recent
Comments
Comment #2
valderson commentedTried dev branch with the same results
Comment #3
valderson commentedOk so I found the info on the README but I still get the libraries under vendor no matter what I try.
I installed oomphinc/composer-installers-extender
here is the extra section of my composer.json what am i missing?
"extra": {
"drupal-scaffold": {
"locations": {
"web-root": "web/"
}
},
"installer-paths": {
"web/core": [
"type:drupal-core"
],
"web/libraries/{$name}": [
"type:drupal-library",
"harvesthq/chosen"
],
"web/modules/contrib/{$name}": [
"type:drupal-module"
],
"web/profiles/contrib/{$name}": [
"type:drupal-profile"
],
"web/themes/contrib/{$name}": [
"type:drupal-theme"
],
"drush/Commands/contrib/{$name}": [
"type:drupal-drush"
],
"web/modules/custom/{$name}": [
"type:drupal-custom-module"
],
"web/themes/custom/{$name}": [
"type:drupal-custom-theme"
],
"installer-types": [
"library"
]
}
Comment #4
valderson commentedOk got it
Thanks to hussain for his video it let me see my error and where i was placing
"installer-types": [
"library"
]
after i moved it to the right place it worked.
Comment #5
matthiasm11 commented