Created
March 3, 2014 12:41
-
-
Save mguillermin/9324154 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name := "testRequireJs" | |
version := "1.0-SNAPSHOT" | |
libraryDependencies ++= Seq( | |
jdbc, | |
anorm, | |
cache | |
) | |
play.Project.playScalaSettings | |
requireJs += "main.js" | |
requireJsShim += "main.js" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@(title: String)(content: Html) | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>@title</title> | |
<link rel="stylesheet" media="screen" href="@routes.Assets.at("stylesheets/main.css")"> | |
<link rel="shortcut icon" type="image/png" href="@routes.Assets.at("images/favicon.png")"> | |
</head> | |
<body> | |
@content | |
@helper.requireJs(core = routes.Assets.at("javascripts/require.js").url, module = routes.Assets.at("javascripts/main").url) | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment