Skip to content
This repository has been archived by the owner on Mar 26, 2018. It is now read-only.

fix(app): 404 on Bootstrap Images #269

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,8 @@ Generator.prototype.bootstrapFiles = function bootstrapFiles() {
} else {
if (this.bootstrap) {
files.push('bootstrap.css');
this.copy('images/glyphicons-halflings.png', 'app/images/glyphicons-halflings.png');
this.copy('images/glyphicons-halflings-white.png', 'app/images/glyphicons-halflings-white.png');
}

files.push('main.css');
Expand Down
3 changes: 3 additions & 0 deletions app/templates/styles/scss/main.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
$iconSpritePath: "../images/glyphicons-halflings.png";
$iconWhiteSpritePath: "../images/glyphicons-halflings-white.png";

@import "bootstrap-sass/lib/bootstrap";

/* Put your CSS here */
Expand Down