Skip to content

Commit

Permalink
feat(generators/app): hint at how best to include the twitter bootstr…
Browse files Browse the repository at this point in the history
…ap CSS framework

This should probably be cast into handling a "Would you like to include
the Twitter Bootstrap CSS framework?" prompt.
  • Loading branch information
cueedee committed May 4, 2017
1 parent 62b8343 commit 1460bfe
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 1 deletion.
11 changes: 11 additions & 0 deletions generators/app/templates/src/app.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,17 @@ require( './utils/hbs/helpers/moment.coffee' )
#require( './utils/hbs/partials/...' )


## ============================================================================
##
## [Twitter Bootstrap (for Sass)]
##
## http://getbootstrap.com
## https://github.com/twbs/bootstrap-sass#b-compass-without-rails
##

#Bootstrap = require( 'bootstrap' )


## ============================================================================
##
## [madlib]
Expand Down
8 changes: 8 additions & 0 deletions generators/app/templates/src/sass/_overrides.sass
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,11 @@
//
// @import "overrides/..."
//
// Framework overrides.
//
// For instance:
//
// @import "overrides/_bootstrap"
14 changes: 13 additions & 1 deletion generators/app/templates/src/sass/app.sass
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,21 @@
// Frameworks.
//
// You may or may not want to `@at-root` these.
//
// For instance:
//
// @import "bootstrap/_bootstrap"
// ```sass
// @at-root
// @import "bootstrap/_bootstrap"
// ```
//
// To get bootstrap to work like that, you would probably want to (in this directory):
//
// ```bash
// npm install bootstrap-sass
// ln -s ../../node_modules/bootstrap-sass/assets/stylesheets bootstrap
// ```
//
// CSS overrides.
Expand Down

0 comments on commit 1460bfe

Please sign in to comment.