无法编译更少的资源 - Play框架

时间:2014-12-30 12:41:55

标签: scala less playframework-2.3

我试图为我的项目添加更少的资源。我把build.sbt包括在这些内容中:

includeFilter in (Assets, LessKeys.less) := "*.less"

excludeFilter in (Assets, LessKeys.less) := "_*.less"

LessKeys.compress := true

和plugin.sbt

addSbtPlugin("com.typesafe.sbt" % "sbt-less" % "1.0.4")

尝试编译更少的资源后,将其抛到我的控制台。

  

引起:com.typesafe.sbt.jse.SbtJsTask $ JsTaskFailure:[object   宾语]   (/home/chabeee/Projects/test/project/target/node-modules/webjars/less/lib/less/parser.js#604)

我该怎么办?

修改

#loginForm {
position: absolute;
top: 20%;
left: 42%;
}
.login-header {
    font-size: 18px;
    color: #999;
}
.login-panel {
    border: 1px solid #ccc !important;
    border-radius: 5px;
    padding: 25px 50px 50px 
}
a#login-button:hover {
    background: white;
    color: black;
}

0 个答案:

没有答案