Comments (2)
I got it working by adding
net.litola.SassPlugin.sassOptions := Seq("--compass","-r", "zurb-foundation")
to the build.sbt
file. Closing this issues then. Anyhow, I would love to know if this is the right way to do it :)
from play-sass.
@syfl I got it working using:
import net.litola.SassPlugin
object ApplicationBuild extends Build {
...
val main = play.Project(appName, appVersion, appDependencies).settings(
SassPlugin.sassOptions := Seq("--compass","-r", "zurb-foundation"),
SassPlugin.sassEntryPoints <<= (sourceDirectory in Compile)(base => ((base / "assets" ** "*.sass") +++ (base / "assets" ** "*.scss") --- base / "assets" ** "_*")),
resourceGenerators in Compile <+= SassPlugin.sassWatcher
)
}
Under Play 2.1.0
from play-sass.
Related Issues (20)
- SASS compiling stops after a while HOT 1
- Use embedded SASS compiler (instead calling external program) HOT 1
- add scala 2.10 version to repository HOT 1
- better explanation of how to work with compass HOT 1
- extending styles with images HOT 1
- runtime compilation HOT 1
- write a code sample where libsaas is used HOT 1
- provide config for the latest compass HOT 1
- better control of the folders HOT 1
- Recommended settings causes problems with JVM forking HOT 1
- play 2.1 with another plugin settings HOT 2
- Any plans to re-release as an sbt-web plugin? HOT 1
- Support Play 2.3.0 HOT 6
- Sourcemap support
- Recompiling main file when dependency changed HOT 5
- compass option in play 2.3 HOT 1
- play 2.3 - sass 0.4.0 - not found: value sassOptions HOT 3
- in multi-module build, it seems to run the plugin in all modules, even non-play ones HOT 6
- Play 2.4 not supported HOT 8
- Use Java LIBSASS instead of path executable HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from play-sass.