Closed whistledev0910 closed 8 months ago
I followed your instructions and only seemed to change the tsconfig.json file because my folder structure was surrounded by the src folder.
My tsconfig.json
{
"extends": "tsconfig/react-library.json",
"include": ["."],
"exclude": ["dist", "build", "node_modules"],
"compilerOptions": {
"baseUrl": ".",
"paths": {
"@ui/*": ["./src/*"],
"@ui/components/ui/*": ["./src/components/ui/*"]
}
}
}
This should be fixed with the latest relase 1.1.0
The error said error ../../packages/ui/src/components/ui/accordion.tsx:7:0 shell:dev: Module not found: Can't resolve '@ui/lib/utils' shell:dev: 5 | import { ChevronDown } from 'lucide-react' shell:dev: 6 | shell:dev: > 7 | import { cn } from '@ui/lib/utils' shell:dev: 8 | shell:dev: 9 | const Accordion = AccordionPrimitive.Root shell:dev: 10 | shell:dev: shell:dev: https://nextjs.org/docs/messages/module-not-found