burnstony#1975B
Convex Community12mo ago
2 replies
burnstony#1975

tailwind

was having trouble getting tailwind to work so In just created a brand new project using
pnpm create convex@latest
selecting vite and github auth

[plugin:vite:css] [postcss] It looks like you're trying to use `tailwindcss` directly as a PostCSS plugin. The PostCSS plugin has moved to a separate package, so to continue using Tailwind CSS with PostCSS you'll need to install `@tailwindcss/postcss` and update your PostCSS configuration.
    at Se (/Users/ashleylorettedills/tony/src/convex/mono-repo-convex2/node_modules/tailwindcss/dist/lib.js:33:1716)
    at LazyResult.runOnRoot (/Users/ashleylorettedills/tony/src/convex/mono-repo-convex2/node_modules/postcss/lib/lazy-result.js:329:16)
    at LazyResult.runAsync (/Users/ashleylorettedills/tony/src/convex/mono-repo-convex2/node_modules/postcss/lib/lazy-result.js:258:26)
    at async compileCSS (file:///Users/ashleylorettedills/tony/src/convex/mono-repo-convex2/node_modules/vite/dist/node/chunks/dep-mCdpKltl.js:36789:21)
    at async TransformPluginContext.transform (file:///Users/ashleylorettedills/tony/src/convex/mono-repo-convex2/node_modules/vite/dist/node/chunks/dep-mCdpKltl.js:36084:11)
    at async PluginContainer.transform (file:///Users/ashleylorettedills/tony/src/convex/mono-repo-convex2/node_modules/vite/dist/node/chunks/dep-mCdpKltl.js:48786:18)
    at async loadAndTransform (file:///Users/ashleylorettedills/tony/src/convex/mono-repo-convex2/node_modules/vite/dist/node/chunks/dep-mCdpKltl.js:51608:27)
    at async viteTransformMiddleware (file:///Users/ashleylorettedills/tony/src/convex/mono-repo-convex2/node_modules/vite/dist/node/chunks/dep-mCdpKltl.js:61557:24
Click outside, press Esc key, or fix the code to dismiss.
You can also disable this overlay by setting server.hmr.overlay to false in vite.config.ts.
Was this page helpful?