#After prefixer not working when installing Tailwind CSS integration with Astro.

3 messages · Page 1 of 1 (latest)

wanton saddle
#

"devDependencies": {
"<@&1055234544183287879>/image": "^0.13.0",
"<@&1055234544183287879>/tailwind": "^3.0.0",
"@tailwindcss/forms": "^0.5.3",
"@tailwindcss/typography": "^0.5.9",
"@types/alpinejs": "^3.7.1",
"astro": "^2.0.2"
},
"dependencies": {
"<@&1055234544183287879>/sitemap": "^1.0.0",
"@astrolib/seo": "^0.3.0",
"astro-compress": "^1.1.25",
"autoprefixer": "^10.4.13",
"postcss": "^8.4.21",
"tailwindcss": "^3.2.4"
}

Astro config
import { defineConfig } from 'astro/config';
import tailwind from "<@&1055234544183287879>/tailwind";
import image from "<@&1055234544183287879>/image";
import compress from "astro-compress";
import sitemap from "<@&1055234544183287879>/sitemap";
// https://astro.build/config
export default defineConfig({
site: 'https://lexingtonthemes.com',
integrations: [tailwind(), image(), compress(), sitemap()]
});

Example: bg-clip-text not working. Attached image.

thorny dust
#

Make sure you have version 3.0.1 of the Tailwind integration

wanton saddle
#

I have tye latest,but let me check