Note: Both NodeJS and NPM are required to be installed in order to run the commands below.
- In root of the theme folder, run
npm installto install needed packages to run gulp - Set
PROJECT_NAMEvariable to the folder name of your localhost install - If localhost is not being used, set
DEVELOPER_MODEtofalseto disable BrowserSync refresh - Once packages are installed and
gulpfile.jsis setup, rungulp - File watching is enabled as long as gulp is running
Note: .scss files are found in assets/scss/
- The
corefolder is loaded in a specific order controlled bymain.scss. Any additional files added to thecorefolder will need to be manually added tomain.scssor they will not be included when compiled - All other
.scssfiles found in other folders, such aselements, layout, pagesare automatically included when compiled and do not need to be added tomain.scss - All
.scssfiles will compile tostyle.css(easy to read format for dev only) andstyle.min.css - All
.jsfiles fromassets/js/src/compile toall.min.js