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.
[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.
2 Replies
Convex Bot
Convex Bot2w ago
Thanks for posting in <#1088161997662724167>. Reminder: If you have a Convex Pro account, use the Convex Dashboard to file support tickets. - Provide context: What are you trying to achieve, what is the end-user interaction, what are you seeing? (full error message, command output, etc.) - Use search.convex.dev to search Docs, Stack, and Discord all at once. - Additionally, you can post your questions in the Convex Community's <#1228095053885476985> channel to receive a response from AI. - Avoid tagging staff unless specifically instructed. Thank you!
burnstony#1975
burnstony#1975OP2w ago
nevermind, I think I was sleep deprived

Did you find this page helpful?