Use the ready (pre-compiled) templates of different versions from the folder /dist/versions/
Or
Install latest Node.js from here https://nodejs.org;
Install Bower npm install --global bower gulp
;
Install Node modules npm install
;
Install project dependencies bower install
;
Run gulp gulp
(builds to /dist/);
If a browser did not open automatically, please open http://localhost:9000 in any browser.
gulp
default task, includes ['build', 'watch', 'serve'] tasks;
gulp build
includes ['build:version', 'build:js', 'build:css', 'build:img', 'build:vendors'];
gulp serve
project serve;
gulp build:versions
build pages and structure (html);
gulp build:js
build js scripts;
gulp build:css
compilation and build sass files (css);
gulp build:img
build images;
gulp build:vendors
copy and merge vendros plugins to dist folder;
gulp clean
clean dist folder.
Note: For use px
's instead rem
's in CSS, change calculation formula in rem function (/src/components/core/css/mixins.scss) and recompile SASS by gulp build:css
task.
Please don't forget that some files from root folder in /src/ folder are hidden (starts from dot symbol, such as .env or .bowerrc). For avoiding compiling problems check that in case if you want to move files to another folder.
This template uses font Source Sans Pro, loaded from. Google Fonts. This font has to be loaded into <head>
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400i,700,700i,900" rel="sty