Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/three.js/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Twitter bootstrap twitterBootstrap在play framework 2.4中不被识别?_Twitter Bootstrap_Playframework 2.4 - Fatal编程技术网

Twitter bootstrap twitterBootstrap在play framework 2.4中不被识别?

Twitter bootstrap twitterBootstrap在play framework 2.4中不被识别?,twitter-bootstrap,playframework-2.4,Twitter Bootstrap,Playframework 2.4,我正在使用Play framework 2.4。我尝试使用引导引导在 在我的模板中,我使用了导入语句: @import helper.twitterBootstrap._ 但我有一个编译错误: object twitterBootstrap is not a member of package views.html.helper 我遗漏了什么吗?可能已经按此处所述删除了: 对于那些使用play 2.4的用户,可能已经删除了play 2.4,如下所述: 对于使用play 2.4的用户 Th

我正在使用Play framework 2.4。我尝试使用引导引导在

在我的模板中,我使用了导入语句:

@import helper.twitterBootstrap._
但我有一个编译错误:

object twitterBootstrap is not a member of package views.html.helper

我遗漏了什么吗?

可能已经按此处所述删除了:


对于那些使用play 2.4的用户,可能已经删除了play 2.4,如下所述:

对于使用play 2.4的用户

The in-built Twitter Bootstrap field constructor has been deprecated, and will be removed in a future version of Play.

There are a few reasons for this, one is that we have found that Bootstrap changes too drastically between versions and too frequently, such that any in-built support provided by Play quickly becomes stale and incompatible with the current Bootstrap version.