mirror of
https://github.com/unovue/shadcn-vue.git
synced 2026-09-14 19:59:38 +08:00
f0c986cbf4
* docs: fix truncated Nuxt installation page A stray fifth space before the ```bash fence in the @nuxtjs/tailwindcss tab broke remark-mdc's container tracking, so the closing `::` and `::::` markers were parsed as a literal paragraph instead of being consumed. The tab panel then stayed open and swallowed the rest of the document — every step from "Add Nuxt module" through "Add Components" became a child of a hidden tab panel. Since the block defaults to `default-value="vite"`, none of it rendered, making the page appear to end after Tailwind setup. Drop the leading indentation inside both `::tabs-content` blocks rather than just deleting the stray space. MDC nesting is driven by colon count, not indentation, and 4-space-indented content sits right on the boundary where CommonMark starts reading lines as indented code blocks — which is what made this fragile in the first place. Unindented content matches the style already used in docs/mcp.md. Also fixes the `npx nuxi@latest module add shadcn-nuxt` line, which was indented 2 spaces inside a 4-space fence, and adds the missing "Update nuxt.config.ts with the following:" lead-in to the @nuxtjs/tailwindcss tab so it matches the @tailwindcss/vite tab. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> * chore(deps): bump v4 docs dependencies Notable: @formisch/vue graduates from 1.0.0-rc.0 to stable 1.0.0, and vue-input-otp goes 0.3.2 -> 0.4.0 (minor on a 0.x line, so worth a look). Also bumps @hugeicons/core-free-icons, @hugeicons/vue, @tanstack/vue-form, @tanstack/vue-table, @unhead/vue, nuxt, valibot, shiki and wrangler. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Nuxt Minimal Starter
Look at the Nuxt documentation to learn more.
Setup
Make sure to install dependencies:
# npm
npm install
# pnpm
pnpm install
# yarn
yarn install
# bun
bun install
Development Server
Start the development server on http://localhost:3000:
# npm
npm run dev
# pnpm
pnpm dev
# yarn
yarn dev
# bun
bun run dev
Production
Build the application for production:
# npm
npm run build
# pnpm
pnpm build
# yarn
yarn build
# bun
bun run build
Locally preview production build:
# npm
npm run preview
# pnpm
pnpm preview
# yarn
yarn preview
# bun
bun run preview
Check out the deployment documentation for more information.