K
K
Ken Jee2016-08-27 17:00:33
Yii
Ken Jee, 2016-08-27 17:00:33

How to add twitter bootstrap 3 to ..\frontend\web\css\ folder in Yii2 Advanced via Composer?

Deployed Yii2 Advanced via Composer. How can I set a rule through Composer so that Bootstrap 3 is now installed in the ..\frontend\web\css\ folder of the project?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Timofeev, 2016-08-27
@Machez

Bootstrap 3 is installed automatically when Yii2 Advanced is installed.
But everything that is installed via composer goes to the vendor folder.
Then, through the assets manager, it goes to the public assets folder
. If for some strange reason you need to transfer it, do it manually. By disabling it in the config and connecting it manually.
I would leave it where it is, then it will be updated. And everything will work.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question