scalaのwebフレームワークLiftが生成するページをHtml5にしたいときは, Boot.scalaでLiftRulesに設定を追加する。
class Boot {
def boot {
...
// html5
LiftRules.htmlProperties.default.set((r: Req) =>new Html5Properties(r.userAgent))
...
}
}
We'll deliver articles that match you.
You can read useful information later.
Go to list of users who liked
More than 5 years have passed since last update.
scalaのwebフレームワークLiftが生成するページをHtml5にしたいときは, Boot.scalaでLiftRulesに設定を追加する。
class Boot {
def boot {
...
// html5
LiftRules.htmlProperties.default.set((r: Req) =>new Html5Properties(r.userAgent))
...
}
}
Register as a new user and use Qiita more conveniently
Go to list of users who liked