secondsky/claude-skills / plugins/shadcn-vue/skills/shadcn-vue
shadcn-vue
Verifiedshadcn-vue for Vue/Nuxt with Reka UI components and Tailwind. Use for accessible UI, Auto Form, data tables, charts, or encountering component imports, dark mode, Reka UI errors.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 12.9 KB |
| assets/components.json | config | 418 B |
| assets/nuxt.config.ts | script | 456 B |
| assets/tailwind.css | other | 1.4 KB |
| assets/tsconfig.json | config | 761 B |
| assets/vite.config.ts | script | 332 B |
| references/component-examples.md | markdown | 15.3 KB |
| references/dark-mode-setup.md | markdown | 10.5 KB |
| references/error-catalog.md | markdown | 5.7 KB |
| scripts/quick-setup.shexecutable | script | 2.2 KB |
| templates/quick-setup.ts | script | 3.9 KB |
scripts/quick-setup.sh
View on GitHub#!/bin/bash
# Quick Setup Script for shadcn-vue
# This script helps quickly set up shadcn-vue in a Vue or Nuxt project
set -e
echo "π¨ shadcn-vue Quick Setup"
echo "========================"
echo ""
# Check if we're in a Vue/Nuxt project
if [ ! -f "package.json" ]; then
echo "β Error: No package.json found. Run this script from your project root."
exit 1
fi
# Detect project type
PROJECT_TYPE="unknown"
if grep -q '"nuxt"' package.json; then
PROJECT_TYPE="nuxt"
echo "β Detected: Nuxt project"
elif grep -q '"vue"' package.json; then
PROJECT_TYPE="vue"
echo "β Detected: Vue project"
else
echo "β οΈ Warning: Could not detect project type. Assuming Vue."
PROJECT_TYPE="vue"
fi
echo ""
# Ask for package manager preference
echo "Choose package manager:"
echo "1) bun (recommended)"
echo "2) npm"
echo "3) pnpm"
read -p "Enter choice [1-3]: " pm_choice
case $pm_choice in
1)
PM="bun"
PM_ADD="bun add"
PM_RUN="bunx"
;;
2)
PM="npm"
PM_ADD="npm install"
PM_RUN="npx"
;;
3)
PM="pnpm"
PM_ADD="pnpm add"
PM_RUN="pnpm dlx"
;;
*)
echo "Invalid choice. Defaulting to bun."
PM="bun"
PM_ADD="bun add"
PM_RUN="bunx"
;;
esac
echo ""
echo "Using: $PM"
echo ""
# Install Tailwind CSS if not present
if ! grep -q '"tailwindcss"' package.json; then
echo "π¦ Installing Tailwind CSS..."
$PM_ADD tailwindcss @tailwindcss/vite
else
echo "β Tailwind CSS already installed"
fi
# Install @types/node if TypeScript project
if [ -f "tsconfig.json" ]; then
if ! grep -q '"@types/node"' package.json; then
echo "π¦ Installing @types/node..."
$PM_ADD -D @types/node
else
echo "β @types/node already installed"
fi
fi
echo ""
echo "π Running shadcn-vue init..."
echo ""
# Run shadcn-vue init
$PM_RUN shadcn-vue@latest init
echo ""
echo "β
Setup complete!"
echo ""
echo "Next steps:"
echo "1. Add your first component: $PM_RUN shadcn-vue@latest add button"
echo "2. Import in your Vue file: import { Button } from '@/components/ui/button'"
echo "3. Use in template: <Button>Click me</Button>"
echo ""
echo "For dark mode setup, see: references/dark-mode-setup.md"
echo "For full documentation, see: SKILL.md"
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation). | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK). | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |