Documentation version: v1 • v2
- Getting Started
- Asset References
- Bundles Helper
- HTML Templates
Cassette has built-in support for LESS - the dynamic stylesheet language.
.less files to your web application.
Cassette will compile them into CSS and include in bundles with your other stylesheets.
.less files must have their Build Action set to
Content so they will get deployed with the web application.
- Select the files in the Visual Studio Solution Explorer
- Right-click > Properties
- In the Properties window, set Build Action to
Reference the other assets a LESS file depends on using following special comment syntax:
// @reference reset.css // @reference other.less "optional-quoted-filename.css" // @reference ~/app/relative.css
/* @reference another.css */
Reference paths are relative to the current LESS file.