You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You are right, we should include more information in installation parts, will update documentation 👍
Vite already has postcss dependency so don't need to install postcss again in you package.json
And also there is no need to add another file like postcss.config.js you can add it in your vite.config.ts with css.postcss.plugins[]
like
import{resolve}from'node:path';import{defineConfig}from'vite';importvuefrom'@vitejs/plugin-vue';importtailwindfrom'tailwindcss';// https://vitejs.dev/config/exportdefaultdefineConfig({resolve: {alias: {'@': resolve(__dirname,'./src'),},},css: {postcss: {plugins: [tailwind(),// any other postcss plugins like autoprefixer],},},plugins: [vue()],});
Environment
Link to minimal reproduction
https://www.shadcn-vue.com/docs/installation/vite.html
Steps to reproduce
Follow the steps in the Vite starter guide.
Describe the bug
Unstyle dropdown component.
Expected behavior
Styled dropdown component
Conext & Screenshots (if applicable)
The text was updated successfully, but these errors were encountered: