mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-06-26 06:05:56 +00:00
* feat: add field.tsx and update blocks * feat: add input group * feat: implement button group * fix * fix * wip * fix: button group * feat: update field * fix * feat * feat: cooked * fix * chore: build registry * feat: add kbd component * chore: update input group demo * feat: update kbd component * feat: add empty * feat: add spinner * refactor: input group * feat: blocks * fix * fix: app sidebar * feat: add label to app sidebar * fix * fix * fix * fix * fix * feat * feat * fix * docs: button group * feat: add docs * docs: kbd * docs: empty * fix * docs * docs * feat: add sink link * fix * fix * docs * feat: add new page * fix * fix * fix * fix * fix * fix * feat: add registration form * fix: chat settings * fix * fix preview * fix examples * feat: add changelog * fix * fix * fix * fix * fix * feat(www): add t3 versions * chore: build registry * fix * fix * fix * feat: inline code examples for llm * fix * feat: home * fix * fix * fix * fix * fix * chore: changelog * fix * fix * fix * fix: callout * fix
100 lines
2.0 KiB
JavaScript
100 lines
2.0 KiB
JavaScript
import { createMDX } from "fumadocs-mdx/next"
|
|
|
|
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
devIndicators: false,
|
|
typescript: {
|
|
ignoreBuildErrors: true,
|
|
},
|
|
outputFileTracingIncludes: {
|
|
"/*": ["./registry/**/*"],
|
|
},
|
|
images: {
|
|
remotePatterns: [
|
|
{
|
|
protocol: "https",
|
|
hostname: "avatars.githubusercontent.com",
|
|
},
|
|
{
|
|
protocol: "https",
|
|
hostname: "images.unsplash.com",
|
|
},
|
|
{
|
|
protocol: "https",
|
|
hostname: "avatar.vercel.sh",
|
|
},
|
|
],
|
|
},
|
|
redirects() {
|
|
return [
|
|
{
|
|
source: "/components",
|
|
destination: "/docs/components",
|
|
permanent: true,
|
|
},
|
|
{
|
|
source: "/docs/primitives/:path*",
|
|
destination: "/docs/components/:path*",
|
|
permanent: true,
|
|
},
|
|
{
|
|
source: "/figma",
|
|
destination: "/docs/figma",
|
|
permanent: true,
|
|
},
|
|
{
|
|
source: "/docs/forms",
|
|
destination: "/docs/components/form",
|
|
permanent: false,
|
|
},
|
|
{
|
|
source: "/docs/forms/react-hook-form",
|
|
destination: "/docs/components/form",
|
|
permanent: false,
|
|
},
|
|
{
|
|
source: "/sidebar",
|
|
destination: "/docs/components/sidebar",
|
|
permanent: true,
|
|
},
|
|
{
|
|
source: "/react-19",
|
|
destination: "/docs/react-19",
|
|
permanent: true,
|
|
},
|
|
{
|
|
source: "/charts",
|
|
destination: "/charts/area",
|
|
permanent: true,
|
|
},
|
|
{
|
|
source: "/view/styles/:style/:name",
|
|
destination: "/view/:name",
|
|
permanent: true,
|
|
},
|
|
{
|
|
source: "/docs/:path*.mdx",
|
|
destination: "/docs/:path*.md",
|
|
permanent: true,
|
|
},
|
|
{
|
|
source: "/mcp",
|
|
destination: "/docs/mcp",
|
|
permanent: false,
|
|
},
|
|
]
|
|
},
|
|
rewrites() {
|
|
return [
|
|
{
|
|
source: "/docs/:path*.md",
|
|
destination: "/llm/:path*",
|
|
},
|
|
]
|
|
},
|
|
}
|
|
|
|
const withMDX = createMDX({})
|
|
|
|
export default withMDX(nextConfig)
|