jquery - My Bower files aren't being accessed through my browser -
i went through cmd , installed bootstrap, jquery , font-awesome , saved in bower_components file on computer. issue think when first saved these files, wer in different folder because of files webpage building not consolidated. deleted bower_components file , redownloaded 1 folder of other relevant files , folders saved underneath 1 all-encompassing folder. however, when open index.html file in chrome, error "failed load resource: net::err_file_not_found
" though when go visual studio code , press ctrl , click, takes me directly file stored.
<link href="bower_components/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet"> <link href="bower_components/bootstrap/dist/css/bootstrap-theme.min.css" rel="stylesheet"> <link href="bower_components/font-awesome/css/font-awesome.min.css" rel="stylesheet">
the example code looked @ has exact same link text, must issue on end how saved files on computer. i'm not sure how fix this.
edit: went in , created dummy documents in each folder having trouble being found in chrome , made sure each link followed path html file through visual studio code. made html document links each page. page worked jquery page, think wrong font-awesome , bootstrap folders underneath bower_components folder because links don't seem work in these folders.
so turns out because using windows, cannot nest folders long names inside of folders long names because windows not follow long path directory. simple fix! suggestions.
Comments
Post a Comment