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/07/01 14:24] – [grunt js] 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" | ||
===== Default ===== | ===== Default ===== | ||
Line 9: | 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 sass ===== | + | |
- | Compiles all sass files into a compressed css file. By default works for bootstrap3 and bootprint3. | + | ===== grunt scss ===== |
- | - add path to theme' | + | Compiles all sass files into a compressed |
- | - add destination file and link to root sass file. <code javascript> | + | - < |
- | " | + | - adjust theme.config.php to point to new compressed file at themes/ |
- | "themes/ | + | |
- | " | + | |
- | }</ | + | |
- | - 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