Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以在没有 git 版本控制的情况下使用 yeoman (yo, bower, grunt) 创建 Web 应用程序,或者这是强制性的吗?
Yeoman 对 git(或任何 vcs)没有任何硬性依赖。
话虽如此,一些生成器可能依赖 git。因此,如果您没有安装 git,我不能保证您将使用的每个生成器都能正常工作。
Grunt 也是如此,它不依赖 git,但某些插件可能。
另一端的 Bower 严重依赖 git 来获取包。所以如果你打算使用 Bower,那么你需要 git。您的项目不需要在 git 上,但需要安装 git 二进制文件。