Add example of how to use bootstrap-sass
This commit is contained in:
12
assets/styles/main.scss.example
Normal file
12
assets/styles/main.scss.example
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
// How to get started using Bootstrap Sass:
|
||||||
|
//
|
||||||
|
// 1. Run `bower install bootstrap-sass-official --save`
|
||||||
|
// 2. Rename this file to `main.scss` and remove `main.less`
|
||||||
|
// 3. Update the `assets/manifest.json` styles dependenies to change `main.less` to `main.scss`
|
||||||
|
//
|
||||||
|
// Feel free to remove this file if you're using LESS
|
||||||
|
|
||||||
|
|
||||||
|
// bower:sass
|
||||||
|
@import "../../bower_components/bootstrap-sass-official/assets/stylesheets/_bootstrap.scss";
|
||||||
|
// endbower
|
||||||
21
bower.json
21
bower.json
@@ -33,6 +33,27 @@
|
|||||||
"./fonts/glyphicons-halflings-regular.ttf",
|
"./fonts/glyphicons-halflings-regular.ttf",
|
||||||
"./fonts/glyphicons-halflings-regular.woff"
|
"./fonts/glyphicons-halflings-regular.woff"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
"bootstrap-sass-official": {
|
||||||
|
"main": [
|
||||||
|
"./assets/stylesheets/_bootstrap.scss",
|
||||||
|
"./assets/javascripts/transition.js",
|
||||||
|
"./assets/javascripts/alert.js",
|
||||||
|
"./assets/javascripts/button.js",
|
||||||
|
"./assets/javascripts/carousel.js",
|
||||||
|
"./assets/javascripts/collapse.js",
|
||||||
|
"./assets/javascripts/dropdown.js",
|
||||||
|
"./assets/javascripts/modal.js",
|
||||||
|
"./assets/javascripts/tooltip.js",
|
||||||
|
"./assets/javascripts/popover.js",
|
||||||
|
"./assets/javascripts/scrollspy.js",
|
||||||
|
"./assets/javascripts/tab.js",
|
||||||
|
"./assets/javascripts/affix.js",
|
||||||
|
"./assets/fonts/glyphicons-halflings-regular.eot",
|
||||||
|
"./assets/fonts/glyphicons-halflings-regular.svg",
|
||||||
|
"./assets/fonts/glyphicons-halflings-regular.ttf",
|
||||||
|
"./assets/fonts/glyphicons-halflings-regular.woff"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -41,7 +41,7 @@
|
|||||||
"gulp-postcss": "^3.0.0",
|
"gulp-postcss": "^3.0.0",
|
||||||
"gulp-rename": "^1.2.0",
|
"gulp-rename": "^1.2.0",
|
||||||
"gulp-rev": "^2.0.1",
|
"gulp-rev": "^2.0.1",
|
||||||
"gulp-sass": "^1.1.0",
|
"gulp-sass": "^1.2.4",
|
||||||
"gulp-sourcemaps": "^1.1.1",
|
"gulp-sourcemaps": "^1.1.1",
|
||||||
"gulp-uglify": "^1.0.1",
|
"gulp-uglify": "^1.0.1",
|
||||||
"imagemin-pngcrush": "^4.0.0",
|
"imagemin-pngcrush": "^4.0.0",
|
||||||
|
|||||||
Reference in New Issue
Block a user