From ebc18f724c9fb679688cf50e4e415ffb433555bb Mon Sep 17 00:00:00 2001 From: Ben Word Date: Fri, 9 Jan 2015 17:50:12 -0600 Subject: [PATCH] Add example of how to use bootstrap-sass --- assets/styles/main.scss.example | 12 ++++++++++++ bower.json | 21 +++++++++++++++++++++ package.json | 2 +- 3 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 assets/styles/main.scss.example diff --git a/assets/styles/main.scss.example b/assets/styles/main.scss.example new file mode 100644 index 0000000..5a3a5d6 --- /dev/null +++ b/assets/styles/main.scss.example @@ -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 diff --git a/bower.json b/bower.json index 24f05f1..69539c0 100644 --- a/bower.json +++ b/bower.json @@ -33,6 +33,27 @@ "./fonts/glyphicons-halflings-regular.ttf", "./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" + ] } } } diff --git a/package.json b/package.json index 0ea6de5..2d4e926 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "gulp-postcss": "^3.0.0", "gulp-rename": "^1.2.0", "gulp-rev": "^2.0.1", - "gulp-sass": "^1.1.0", + "gulp-sass": "^1.2.4", "gulp-sourcemaps": "^1.1.1", "gulp-uglify": "^1.0.1", "imagemin-pngcrush": "^4.0.0",