Skip to content

Instantly share code, notes, and snippets.

@joeybeninghove
Created February 15, 2018 02:21
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joeybeninghove/882ca5a2ea2917ffca087609a7e4c181 to your computer and use it in GitHub Desktop.
Save joeybeninghove/882ca5a2ea2917ffca087609a7e4c181 to your computer and use it in GitHub Desktop.
Tailwind with Rails and Webpacker
plugins:
postcss-import: {}
postcss-cssnext: {}
tailwindcss: "./app/javascript/src/tailwind.js"
/* app/javascript/src/application.css */
@tailwind preflight;
@tailwind utilities;
// app/javascript/packs/application.js
import "../src/application.css"
// app/javascript/src/tailwind.js
// the tailwind config here
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment