-
Notifications
You must be signed in to change notification settings - Fork 6.7k
No indication that a bower install in not enough #2622
Comments
The
My Grunt output:
|
I'm surprised you did a bower angular-ui-bootstrap. Personally I did a bower angular-bootstrap. Was I wrong ? After manually adding the .css file in my index.html file it works fine though. |
My bower.json file only contains the following bootstrap entry: "angular-bootstrap": "~0.11.0" Should that be enough ? |
Installation instructions are here: https://github.com/angular-ui/bootstrap#installation and those clearly mention bower command: As for dependencies on CSS - the trouble is that bootstrap doesn't publish CSS alone as a separate artefact. So adding dependencies on the whole bootstrap package would drag all the Bootstrap's JavaScript and jQuery dependency and it would be even more confusing for the users as this project doesn't require any of the mentioned JavaScript dependencies. @stephaneeybert @moneypenny if you guys can think of the doc update that could make it clear I would be happy to merge a PR. Thnx! |
Thanks for the clarification. The "As for..." paragraph would be cool on the installation page. |
Sorry, my Git experience is limited, I wonder what a PR is for example. |
I'm coming back to this, stumbling on the missing css resource, biting me. I can't see anything about it in the doc now. |
What was needed was the following command: |
@stephaneeybert - You actually need to |
It would be nice if there was a note explicitly stating that the css file needs to be added in the index.html file. The bower install does not take care of this. The bower install only inserts the js include statement.
The text was updated successfully, but these errors were encountered: