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:
parent
cdb0e67eb3
commit
cb79277374
8 changed files with 2030 additions and 0 deletions
13
tailwind.config.js
Normal file
13
tailwind.config.js
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
module.exports = {
|
||||
purge: {
|
||||
content: ['templates/**/*.twig']
|
||||
},
|
||||
darkMode: false, // or 'media' or 'class'
|
||||
theme: {
|
||||
extend: {},
|
||||
},
|
||||
variants: {
|
||||
extend: {},
|
||||
},
|
||||
plugins: [],
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue