Last active
January 2, 2016 19:59
-
-
Save cjbell/365be5e1fce70344ad22 to your computer and use it in GitHub Desktop.
Bower + Rails
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"directory": "vendor/assets/components" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// When importing your deps, use the folder too | |
// This is the same for the JS too | |
@import "normalize-css/normalize"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ... | |
class Application < Rails::Application | |
# ... | |
config.assets.paths << Rails.root.join("vendor", "assets", "components") | |
# ... | |
end | |
# ... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "your-app", | |
"dependencies": { | |
"normalize-css": "~2.1.3" | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "your-app", | |
"devDependencies" : { | |
"bower": "~1.2.8" | |
}, | |
"dependencies": { | |
}, | |
"license": "MIT", | |
"engines": { | |
"node": ">= 0.10" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment