samedi 20 avril 2019

Do I need to move packages manually to 'public' folder every time I install them through composer?

I installed Bootbox package for modal dialogs through composer require and after that the package was saved into 'vendor' folder. However, I figured out that when including scripts in tag, Laravel can only access fiels in 'public' folder so I had to manually move my new Bootbox folder with script from 'vendor' to 'public' folder.

Now I want to install Popper.js package and include it in my layout view inside tag. Do I need to manually cut and paste my newly installed package folder into 'public' folder every time I install package through composer? Is there an easier way?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire