Add and configure Tailwind CSS

Add and configure Tailwind CSS within the project, including adding npm
scripts for compiling the CSS, configuring purge settings, and adding
the `cssnano` library for minifying the CSS (which is run for production
builds).
This commit is contained in:
Oliver Davies 2020-12-26 22:03:46 +00:00
parent cdb0e67eb3
commit cb79277374
8 changed files with 2030 additions and 0 deletions

13
tailwind.config.js Normal file
View file

@ -0,0 +1,13 @@
module.exports = {
purge: {
content: ['templates/**/*.twig']
},
darkMode: false, // or 'media' or 'class'
theme: {
extend: {},
},
variants: {
extend: {},
},
plugins: [],
}