Last active
April 3, 2019 07:55
-
-
Save benschwarz/5874031 to your computer and use it in GitHub Desktop.
Bower + Rails asset pipeline
This file contains 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 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
//= require pkgname |
This file contains 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
npm install -g bower | |
# From your rails project directory | |
curl https://raw.github.com/gist/5874031/.bowerrc > ./.bowerrc | |
bower install <pkgname> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is it possible somehow to use images with rails pipeline from the components?