Loading...
Loading...
shadcn-vue for Vue/Nuxt with Reka UI components and Tailwind. Use for accessible UI, Auto Form, data tables, charts, dark mode, MCP server setup, or encountering component imports, Reka UI errors.
npx skill4agent add noartem/laravel-vue-skills shadcn-vuenpx shadcn-vue@latest initNew YorkDefaultSlateYes// tsconfig.json
{
"compilerOptions": {
"baseUrl": ".",
"paths": {
"@/*": ["./src/*"]
}
}
}// vite.config.ts
import { defineConfig } from "vite";
import vue from "@vitejs/plugin-vue";
import tailwindcss from "@tailwindcss/vite"; // Tailwind v4
import path from "path";
export default defineConfig({
plugins: [vue(), tailwindcss()],
resolve: {
alias: {
"@": path.resolve(__dirname, "./src"),
},
},
});npx shadcn-vue@latest add button| Need | Command or file |
|---|---|
| Initialize project | |
| Add component | |
| Add multiple components | |
| Build registry JSON | |
| Generate component docs | |
| Enable CSS variables | |
| Add registry namespace | |
| Opencode MCP init | |
| Codex MCP config | |
templates/quick-setup.tsreferences/cli.mdmcp.mdtheming.mdcssVariableserror-catalog.mdcomponent-examples.mddark-mode-setup.mddata-tables.mdcomponents/references/components.mdcomponents/<component>.mdreferences/error-catalog.mdreferences/components.mdreferences/component-examples.mdreferences/cli.mdinitaddupdatereferences/dark-mode-setup.mdreferences/theming.mdcssVariables:root.darkreferences/mcp.mdcomponents.jsonreferences/data-tables.mdDataTableinitcssVariables: truecomponents.jsonstyleaddinitcomponents.json@namespace/componenttailwind.cssVariables: true# Initialize in current directory
npx shadcn-vue@latest init
# Initialize in specific directory (monorepo)
npx shadcn-vue@latest init -c ./apps/web# Add single component
npx shadcn-vue@latest add button
# Add multiple components
npx shadcn-vue@latest add button card dialog
# Add all components
npx shadcn-vue@latest add --all# Check for component updates
npx shadcn-vue@latest diff button# Initialize MCP for specific client
npx shadcn-vue@latest mcp init --client opencode
npx shadcn-vue@latest mcp init --client codex
npx shadcn-vue@latest mcp init --client cursor
npx shadcn-vue@latest mcp init --client vscodecomponents.json@/components/ui@/lib/utilstemplates/components.jsonnpx shadcn-vue@latest init@/lib/utils.tscn()clsxtailwind-mergeshadcn-vue init