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 revision | ||
development:grunt [2016/07/01 14:24] – [grunt js] crhallberg | development:grunt [2023/03/22 18:25] (current) – [Grunt Manual] demiankatz | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Grunt Manual ====== | ====== Grunt Manual ====== | ||
- | [[http:// | + | :!: Beginning with VuFind® 9.0, the use of Grunt is being phased out; it is strongly recommended that you begin using [[NPM|NPM Scripts]] instead. |
+ | |||
+ | [[http:// | ||
+ | |||
+ | To setup Grunt to run, first install node and run "npm install" | ||
===== Default ===== | ===== Default ===== | ||
Line 9: | Line 13: | ||
===== 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 ===== | ||
Line 51: | Line 42: | ||
===== grunt lessToSass ===== | ===== grunt lessToSass ===== | ||
- | Converts all less files to sass. Mostly for the VuFind | + | Converts all less files to sass. Mostly for the VuFind® |
---- struct data ---- | ---- struct data ---- | ||
+ | properties.Page Owner : | ||
---- | ---- | ||
development/grunt.1467383043.txt.gz · Last modified: 2016/07/01 14:24 by crhallberg