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:13] – [grunt sass] crhallberg | ||
---|---|---|---|
Line 2: | Line 2: | ||
[[http:// | [[http:// | ||
+ | |||
+ | To setup Grunt to run, first install node and run "npm install" | ||
===== Default ===== | ===== Default ===== | ||
Line 21: | Line 23: | ||
- adjust theme.config.php to point to new compressed file. | - adjust theme.config.php to point to new compressed file. | ||
- | ===== grunt sass ===== | + | ===== 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. By default works for bootstrap3 and bootprint3. | ||
- | - add path to theme' | + | - add path to theme' |
- add destination file and link to root sass file. <code javascript> | - add destination file and link to root sass file. <code javascript> | ||
- | " | + | " |
- | " | + | " |
- | " | + | " |
}</ | }</ | ||
- | - run < | + | - run < |
- adjust theme.config.php to point to new compressed file. | - adjust theme.config.php to point to new compressed file. | ||
development/grunt.txt · Last modified: 2023/03/22 18:25 by demiankatz