php - why cant I install bower highcharts in yii2? -
i want make charts in yii2. have install bower highcharts. when try install it, cant installed
what should fix problem?
the error clear. need install git in order run bower install.
hovewer, yii2 installing , using bower not required.
yii2 dependent on composer asset plugin - plugin "allows manage project assets (css, js, etc.) in composer.json without installing npm or bower".
you can't correctly , install yii2 without installing plugin first. check installing yii official guide section:
composer global require "fxp/composer-asset-plugin:^1.2.0" you can use tool install additional bower packages well, example including them in composer.json along php dependencies special prefix:
"bower-asset/jquery.inputmask": "~3.2.2", for more details check plugin docs.
you need install git anyways. see downloads page on git site. installation depends on used os.

Comments
Post a Comment