I am using the yeoman webapp generator to create a template to get started. At this moment, my bower.json looks like this
{
"name": "sample-project",
"private": true,
"dependencies": {
"bootstrap-sass": "~ 3.3.5",
"modernizr": "~ 2.8.3",
"fontawesome": "~ 4.3.0",
"jquery.smooth-scroll": "~ 1.5.5",
"animate.css": "~ 3.3.0",
"jquery.appear": "*"
},
"overrides": {
"bootstrap-sass": {
"main": [
"assets / stylesheets / _bootstrap.scss",
"assets / fonts / bootstrap / *",
"assets / javascripts / bootstrap.js"
]
}
},
"devDependencies": {
"chai": "~ 3.0.0",
"mocha": "~ 2.2.5"
}
}
Now, at the cmd prompt, I type this while the grunt clock is running
bower install bootstrap-datepicker -S
Then I found that it is "bootstrap-datepicker": "~1.4.0"inserted into the dependency section, then
<script src="bower_components/bootstrap-datepicker/js/bootstrap-datepicker.js"></script>
will be automatically connected to my index.html, it will become this
.
.
<script src="bower_components/bootstrap-datepicker/js/bootstrap-datepicker.js"></script>
Then I try to install another Bower component in my webapp
bower install country-region-selector -S
The following will happen, I found that it "country-region-selector": "~0.1.8"is in the bower.json dependencies section as bootstrap-datepicker, however the corresponding
<script src="bower_components/country-region-selector/dist/crs.min.js"></script>
doesn't get wiredep in my index.html.
, , grunt wiredep bower? form.validation - ?