Documentation

You are viewing the documentation for the 2.0 release in the 2.0.x series of releases. The latest stable release series is 2.7.x.

§Play 2.0 tips and tricks

§To use Play Framework 2 with Twitter Bootstrap 2:

§Renaming the Bootstrap include files

This can be done with a script like this (run in app/assets/stylesheets/bootstrap)

for a in *.less; do mv $a _$a; done 
sed -i '|s|@import "|@import "bootstrap/_|' bootstrap.less 
mv bootstrap.less ../bootstrap.less`

§Alternative: using the Build.scala configuration file