An open API service indexing awesome lists of open source software.

https://github.com/zikju/gulpwebstarter

Start optimized HTML5 template development via Gulp 4
https://github.com/zikju/gulpwebstarter

bootstrap gulp gulp4 html5 jquery lazyload scss starter starter-app starter-kit starter-project starter-template template

Last synced: 2 months ago
JSON representation

Start optimized HTML5 template development via Gulp 4

Awesome Lists containing this project

README

          

Gulp Web Starter


Lightweight startup HTML5 template, based on Gulp.

Gulp Web Starter - lightweight startup HTML5 template with Gulp 4, SCSS, Browsersync, Autoprefixer, Uglify-ES, Clean-CSS, Rsync, CSS Reboot (Bootstrap reboot).


It uses best practices for responsive images optimizing and contains a .htaccess file for resources caching (images, fonts, HTML, CSS, JS and other content types).

How to use:

git clone https://github.com/zikju/GulpWebStarter.git


  1. Clone or Download from GitHub

  2. Install Node Modules: npm i

  3. Run: gulp

Main Gulp tasks:



  • gulp: run default gulp task (images, styles, scripts, browsersync, startwatch)


  • cleanimg: Clean all compressed images


  • styles, scripts, images, assets: build assets (css, js, images or all)


  • rsync: project deployment via RSYNC

Basic rules


  1. All custom scripts located in app/js/app.js

  2. All custom styles located in app/scss/main.scss

  3. All preprocessor configs placed in app/scss/_config.scss

  4. All images sources placed in app/images/src/ folder.

Included features



  1. bootstrap-reboot - Bootstrap Reboot CSS collection


  2. _breakpoints.scss - Bootstrap Breakpoints mixin (available only for sass and scss)


  3. bootstrap-grid (optional) - Bootstrap Grid collection


  4. jQuery (latest) - jQuery library


  5. Vanilla LazyLoad - LazyLoad is a lightweight and flexible script that speeds up your web application by deferring the loading of your below-the-fold images, videos and iframes to when they will enter the viewport.

Caching

Rename ht.access to .htaccess before place it in your web server. This file contain rules for htaccess resources caching.

Issues


  1. Long Preprocessor compile: Disable the "safe write" option in PHPStorm settings.