Blitz 尚在 beat 阶段! 🎉 预计会在今年的 Q3 季度发布 1.0
Back to Documentation Menu

blitz install

别名:blitz i

使用此命令将 Blitz Recipe 安装到你的项目中。

支持官方 Recipes 和自定义第三方 Recipes。Recipes 名称可以用以下任何一种格 式指定:

  • blitz install official-recipe 用于 Blitz 团队的官方 Recipe
  • blitz install ./recipes/my-local-recipes.ts 用于本地创作的 Recipe
  • blitz 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.

Idea for improving this page? Edit it on GitHub.