Based on Vedees work template
Read this in other languages: Русский
The template uses a Sass syntax and project structure with source code in the directory dev/ and production folder build/, that contains ready project with optimized CSS, JS.
- $ gulp
Default gulp task (sass auto compiling, jshint, browser-sync) for web development; - $ gulp build
Build project to build/ folder (optimize images (imagemin), css (cssnano), js (uglifyjs)); - $ gulp cache
Clear all gulp cache.
- Simply download the repository as an archive from GitHub,
or
In the folder, where you want to copy the files, run the following commands:
$ git clone --depth=1 --branch=master https://github.com/K0nfy/simple-work-template.git simple-work-template
$ rm -rf !$/.git - $ npm i
- $ gulp - to start a default gulp task
If you install this template as a repository, you will encounter a problem on saving the repository of your project which was made in this template.
In the folder, where you want to copy the repository, run the following commands:
- $ git clone https://github.com/K0nfy/simple-work-template.git
- $ cd simple-work-template
- $ npm i
- $ gulp - to start a default gulp task
- Creating a new directories during work will cause gulp task "html:dev" triggering on any actions in devFolder and subfolders.