A Dart implementation of Sass specifically for Dart. Sass makes CSS fun again in Dart. This is the dart-sass source code with a patch applied that permits users to place their scss/sass files in the /lib folder and import them using 'package:', just like Dart. This also works on third-party source code.
There are a few different ways to install and run Dart Sass, depending on your environment and your needs.
If you're a Dart user, you can install Dart Sass globally using
activate sass ^0.0.9, which will provide a
Assuming you've already checked out this repository:
'git checkout sass4dart/release'
Install Dart. If you download it manually, make sure the SDK's
bindirectory is on your
In this repository, run
pub get. This will install Sass4Dart's dependencies.
'cd' into the directory containing the '.packages' file.
dart path/to/sass4dart/bin/sass4dart.dart path/to/file.scss.