我需要为每个项目下载Play Framework吗? [英] Do I need to download Play Framework for each project?

查看:102
本文介绍了我需要为每个项目下载Play Framework吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

以下链接提到我需要下载示例或模板才能下载游戏(基本上我无法下载最新的Play框架)

The following link mentions that I need to download examples or templates to download play (basically I cannot download latest Play framework)

https://www.playframework.com/download#alternatives

我尝试了该示例,并注意到sbt在下载包括play sdk在内的组件负载中.每当我需要创建一个Play项目时,都必须这样做吗?

I tried the example and notice that sbt in downloading loads of components including play sdk. Do I have to do this everytime I need to create a Play project?

推荐答案

不,如果不需要,您不需要下载.从理论上讲,如果您手动创建一个简单的sbt项目并添加播放作为依赖项,则sbt会下载所有需要的库和依赖项.并且,如果将应用程序升级到较新的播放版本,它将自动下载较新的依赖项. sbt是一个构建工具,可以管理所有内容.

no, you don't need to download if don't want. theoretically if you create a simple sbt project by hand and add play as a dependency sbt will download every required libs and dependencies. and, if you upgrade your application to a newer play version, it will automatically download newer dependencies. sbt is a build tool, manages everything.

使用模板是一个优点,可以加快新项目的创建速度(并且,如果您是游戏框架中的新手,则模板和示例可以帮助您缩短学习时间)

using templates is a plus, to speed up new project creation (and, if you new in play framework, templates and examples can help you to shorten the learning curve)

这篇关于我需要为每个项目下载Play Framework吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆