Author: Polovkov Dmitriy
The template uses a Sass with Sass syntax and project structure with source code in the directory app/ and production folder dist/, that contains ready project with optimized HTML, CSS, JS and images.
- Download test-page from GitHub;
- Install Node Modules: npm i;
- Run the template: gulp.
- gulp: run default gulp task (sass, js, watch, browserSync) for web development;
- build: build project to dist folder (cleanup, image optimize, removing unnecessary files);
- deploy: project deployment on the server from dist folder via FTP;
- clearcache: clear all gulp cache.
- For installing new jQuery library, just run the command "bower i plugin-name" in the terminal. Libraries are automatically placed in the folder app/libs. Bower must be installed in the system (npm i -g bower). Then place all jQuery libraries paths in the 'libs' task (gulpfile.js);
- All custom JS located in app/js/common.js;
- All Sass vars placed in app/sass/_vars.sass;