Arjan van Wieringen
02/28/2024, 6:03 PM/** @type {import('tailwindcss').Config} */
module.exports = {
content: {
files: [
'./src/main/kotlin/**/*.kt',
]
},
theme: {
extend: {},
},
plugins: [],
}
And my code I have this kotlinx.html code:
div("text-3xl font-bold underline") {
h1("") { +title }
article {
p { +"This is a blog post" }
}
}
And it works with:
npx tailwindcss -i src/main/resources/tailwind/input.css -o src/main/resources/tailwind/styles.css
I couldn't find anything on the webz, so I just tried it out.