Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

Latest commit

 

History

History
28 lines (24 loc) · 1.11 KB

README.md

File metadata and controls

28 lines (24 loc) · 1.11 KB

My work template. Pug + stylus

The template uses a Styl with Stylus syntax and project structure with source code in the directory build/ and production folder dev/, that contains ready project with optimized HTML, CSS, JS.

Gulp tasks:

  • gulp: default gulp task (pug, styl, js, browserSync) for web development;
  • build: build project to build folder (cleanup; optimize image(tinypng API), css, js, removing unnecessary files);
  • deploy: project deployment on the server from build folder via FTP;
  • cache: clear all gulp cache.

Installation:

  1. git clone https://github.com/vedees/work-template work-template
  2. cd work-template
  3. npm i
  4. gulp
If there is an error 'Cannot GET /' - refresh the page (F5)