Warning: This page has not been updated in over over a year and may be outdated or deprecated.
development:grunt
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
development:grunt [2016/09/15 14:13] – [grunt sass] crhallberg | development:grunt [2016/09/15 14:22] – crhallberg | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Grunt Manual ====== | ====== Grunt Manual ====== | ||
- | [[http:// | + | [[http:// |
To setup Grunt to run, first install node and run "npm install" | To setup Grunt to run, first install node and run "npm install" | ||
Line 11: | Line 11: | ||
===== grunt less ===== | ===== grunt less ===== | ||
- | Compiles all less files into a compressed css file. By default works for bootstrap3 | + | Compiles all less files into a compressed css file. This script will detect themes inside of your themes directory |
To use: | To use: | ||
- | - add path to theme' | + | - < |
- | - add destination file and link to root less file. <code javascript> | + | - adjust theme.config.php to point to new compressed file at themes/ |
- | " | + | |
- | " | + | |
- | " | + | |
- | }</ | + | |
- | - run < | + | |
- | - adjust theme.config.php to point to new compressed file. | + | |
===== grunt scss ===== | ===== grunt scss ===== | ||
- | Compiles all sass files into a compressed css file. By default works for bootstrap3 and bootprint3. | + | Compiles all sass files into a compressed css file. This script will detect themes inside |
- | + | - < | |
- | - add path to theme' | + | - adjust theme.config.php to point to new compressed file at themes/ |
- | - add destination file and link to root sass file. <code javascript> | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | }</ | + | |
- | - run < | + | |
- | - adjust theme.config.php to point to new compressed file. | + | |
===== grunt js ===== | ===== grunt js ===== |
development/grunt.txt · Last modified: 2023/03/22 18:25 by demiankatz