shadcn/ui
初始化
https://ui.shadcn.com/docs/installation/vite
安装完组件后会爆 没有 class-variance-authority
需要手动安装
webpack 项目
只支持官网手动安装的教程
https://ui.shadcn.com/docs/installation/manual
手动安装仍然报错
We could not detect a supported framework at /Users/teqi/Desktop/Projects/monorepo-project/projects/z1the3-doc.
Visit https://ui.shadcn.com/docs/installation/manual to manually configure your project.
Once configured, you can use the cli to add components.
https://github.com/shadcn-ui/ui/discussions/4685
这里命令得用旧版 shadcn-ui,现在已经改为 shadcn https://stackoverflow.com/questions/78934468/shadcn-ui-commands-on-terminal-is-not-working/78936238#78936238