Roots Discourse

Windicss support


i am trying to replace the tailwindcss with windicss.

watch works well, but prod build doesn’t put php content in css.
i did this:

change webpack.mix.js:

	.sass('resources/styles/app.scss', 'styles')
	.sass('resources/styles/editor.scss', 'styles')
		processCssUrls: false,
		postCss: [require('postcss-windicss')],

update tailwind.config.js -> windi.config.js:

module.exports = {
	extract: {
		include: [
	darkMode: false, // or 'media' or 'class'
	theme: {
		extend: {
			colors: {},
	variants: {
		extend: {},
	plugins: [require('windicss/plugin/typography')],

Curious to know what windicss provides that tailwindcss JIT doesn’t.