Closed loveorigami closed 9 years ago
Hi @loveorigami do you mean that Select2 has more dependencies that the ones included? Is true that I have to change the way is inserted and make use of bower-asset from Yii2 but that shouldn't be the problem or is it? What has changed?
Thank you
Before installing I have in vendor clear structure
after installing I have not used dependencies from select2:
and after removing I have error in console
After command: bower i select2 -save I have only select2 without composer dependencies
may be better use "bower-asset/select2": "~3.5.0" instead of "ivaynberg/select2": "3.5.0" https://github.com/2amigos/yii2-editable-widget/blob/master/composer.json#L16
and public $sourcePath = '@vendor/bower/select2'; instead of public $sourcePath = '@vendor/ivaynberg/select2'; here https://github.com/2amigos/yii2-editable-widget/blob/master/Select2Asset.php#L21
Thank you for such valuable information @loveorigami will update asap
+1
Numerous dependencies, including extra jquery
+ installation via component-installer
vs single bower package
Dear Antonio! After installing editable-widget I have more dependinces from Select2. It is not good, because I not use Simfony, components etc.From one of them I have mistake in console...
Please, correct dependencies with Select2. May be better use Select2 as bower without composer dependencies?