Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
tsconfig.json
paths
{ "compilerOptions": { "paths": { "my-custom-name": ["./node_modules/zod"], "@components/*": ["./src/components/*"] } } }
import { z } from "my-custom-name"; // 从 "zod" 导入 import { Button } from "@components/Button"; // 从 "./src/components/Button" 导入