别名:blitz i
使用此命令将 Blitz Recipe 安装到你的项目中。
支持官方 Recipes 和自定义第三方 Recipes。Recipes 名称可以用以下任何一种格 式指定:
blitz install official-recipe
用于 Blitz 团队的官方 Recipeblitz install ./recipes/my-local-recipes.ts
用于本地创作的 Recipeblitz install github-user/my-published-recipe
用于托管在 Github 上的自
定义 Recipe更多关于 Recipes 的信息,请查阅官方文档 安装 recipes 和 编写你自己的 recipes。
有关配方的更多信息,请参阅
参数 | 必须 | 描述 |
---|---|---|
name | 是 | 要安装的 recipe 的名称、本地配方的路径或 Github 仓库名称 |
> blitz install tailwind
✅ Installed 2 dependencies
✅ Successfully created postcss.config.js, tailwind.config.js
✅ Successfully created app/styles/button.css, app/styles/index.css
✅ Modified 1 file: app/pages/_app.tsx
🎉 The recipe for Tailwind CSS completed successfully! Its functionality is now fully configured in your Blitz app.