با سلام
نحوه کامل نصب fontawesome در فریمورک Yii2 به چه صورته؟
هرکاری می کنم خطا میده!
با سلام
نحوه کامل نصب fontawesome در فریمورک Yii2 به چه صورته؟
هرکاری می کنم خطا میده!
کسی نبود؟!!
In frontend\views\layout\main.php, add the following use statement at the top:
use frontend\assets\FontAwesomeAsset;
And then below that, near the other register call at the additional call to register, like so:AppAsset::register($this);
FontAwesomeAsset::register($this);And that should do it, we should now have access to font-awesome. So let’s test this by inserting
the following:کد HTML:<i class="fa fa-plug"></i>
حل شد
ممنون از دوستان
آخرین ویرایش به وسیله mohsen6500 : سه شنبه 28 فروردین 1397 در 13:39 عصر دلیل: مشکل حل شد!