Resource Linking
Syntax
- Fuzzy paths
- Variables
- Conditionals
- File imports
- Resource linking
- Reference
Instead of writing out the full tags to reference JavaScript or stylesheet files, you can use the following directives:
<!-- @javascript PATH -->
<!-- @stylesheet PATH -->
You can reference SCSS, LESS, and CoffeeScript files the exact same way, with or without file extensions (uses the same location logic as fuzzy paths).
If you have multiple stylesheets (or JavaScript files), you can link to them all using wild cards:
<!-- @stylesheet css/* -->