Closed DiegoAndai closed 4 years ago
Add tailwindcss configuration to new projects
Installs tailwindcss via yarn. Also introduces and changes some files:
tailwindcss
New files
app/javascript/css/application.css
tailwind.config.js
Files changed
postcss.config.js
app/assets/stylesheets/application.css
requires
app/javascript/packs/application.js
app/views/layouts/application.html.erb
closes #267
Accomplishes
Add tailwindcss configuration to new projects
Description
Installs
tailwindcss
via yarn. Also introduces and changes some files:New files
app/javascript/css/application.css
imports tailwind into client csstailwind.config.js
with tailwind configurationFiles changed
postcss.config.js
add tailwind required pluginsapp/assets/stylesheets/application.css
deleterequires
which loaded unwanted cssapp/javascript/packs/application.js
add client css file importapp/views/layouts/application.html.erb
add application stylesheet import tag