使用高级 Chakra UI 组件更快地构建 💎
2024年11月15日
Chakra UI CLI 生成的代码片段默认放置在components/ui 目录下。
components/ui
您可以通过使用 --outdir 标志运行 CLI 来指定自定义目录。
--outdir
npx chakra snippets --outdir ./components/custom
要了解有关 CLI 代码片段命令的更多信息,请参阅CLI 文档。