Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow to set bower-asset/bootstrap specific version #62

Closed
michaelnguyen2021 opened this issue Jun 27, 2015 · 2 comments
Closed

allow to set bower-asset/bootstrap specific version #62

michaelnguyen2021 opened this issue Jun 27, 2015 · 2 comments

Comments

@michaelnguyen2021
Copy link

since bower-asset/bootstrap v3.3.5, I have those weird warnings

Failed to decode downloaded font: /assets/edae1c82/fonts/glyphicons-halflings-regular.woff2
Failed to decode downloaded font: /assets/edae1c82/fonts/glyphicons-halflings-regular.woff
Failed to decode downloaded font: /assets/edae1c82/fonts/glyphicons-halflings-regular.ttf

turn out it involves some political issue which affects lot of people out there

twbs/bootstrap#16708
twbs/bootstrap#16359
twbs/bootstrap#16663

I really dont know how to make yii2-bootstrap use bower-asset/bootstrap v3.3.4, or even better, use the original bootstrap package twbs/bootstrap

@cebe
Copy link
Member

cebe commented Jun 29, 2015

to require a specific version, just add that requirement to your composer.json:

    "require": {
...
        "bower-asset/bootstrap": "3.3.4"
    },

as this is a downgrade you may need to remove the vendor dir before running composer update.

@cebe cebe closed this as completed Jun 29, 2015
@michaelnguyen2021
Copy link
Author

thanks alot. You are correct that I have to remove vendor dir to make it work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants