Answer the question
In order to leave comments, you need to log in
Why doesn't bower add bootstrap.css to the project?
Good afternoon!
I want to connect to the boostrap project, I make bower install boostrap
bower.json
{
"name": "auction",
"dependencies": {
"angular-route": "1.3.6",
"angular": "1.3.6",
"bootstrap": "^3.3.6",
"es5-shim": "^4.0.5",
"json3": "^3.3.2",
"lodash": "^2.4.1",
"bootstrap-datepicker": "^1.3.0",
"seiyria-bootstrap-slider": "^3.1.0"
},
"devDependencies": {
"angular-mocks": "1.3.6",
"angular-scenario": "1.3.6"
},
"appPath": "app"
}
<!-- build:css(.) styles/vendor.css -->
<!-- bower:css -->
<link rel="stylesheet" href="bower_components/bootstrap-datepicker/dist/css/bootstrap-datepicker3.css" />
<link rel="stylesheet" href="bower_components/seiyria-bootstrap-slider/dist/css/bootstrap-slider.css" />
<!-- endbower -->
<!-- endbuild -->
<!-- build:css(.tmp) styles/main.css -->
<link rel="stylesheet" href="styles/main.css">
<!-- endbuild -->
Answer the question
In order to leave comments, you need to log in
you did not specify the assembler with which you connect the bower components
I don't see any repetition. Cattle code, it will cease to be when you begin to follow the rules of indentation.
arrange hyphens and tabs, then it will be possible to talk about something
$(function() {
var player;
function fGetScript() {
$.getScript("http://www.youtube.com/player_api/", function(data) {
igor("done");
window.onYouTubeIframeAPIReady = function() {
igor("onYouTubeIframeAPIReady");
$(".loadvid, .loadvid2").on("click", function() {
var videoID = $(this).val();
if (player === null) {
player = new YT.Player('player', { videoId: videoID, events: { 'onReady': onPlayerReady } });
} else {
player.loadVideoById(videoID);
}
});
}
});
}
});
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question