Last active
May 13, 2020 21:40
-
-
Save benr75/fd0524d819fc59cc2a76df0ae2a937b7 to your computer and use it in GitHub Desktop.
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
# app/assets/stylesheets/application.css | |
@import 'cookieconsent/build/cookieconsent.min.css'; | |
# In dev 200 | |
https://localhost:3000/assets/cookieconsent/build/cookieconsent.min.css | |
# In prod 404 | |
https://HOST/assets/cookieconsent/build/cookieconsent.min.css | |
# I can also make it work doing this: | |
# app/javascript/packs/application.js | |
import 'cookieconsent/build/cookieconsent.min.css' | |
# CSS is rendered inline on the page in dev mode | |
# In prod? NO LOVE. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment