Giter Site home page Giter Site logo

rafibomb / gulp-sass-handlebars-template Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 16.73 MB

Build your project with this powerful started template. Part Static Site Generator, part build system.

JavaScript 7.23% HTML 21.78% SCSS 70.99%
handlebars sass scss panini mixins gulp browsersync livereload autoprefixer reset

gulp-sass-handlebars-template's Introduction

Project Starter Template

devDependency Status

It has a Gulp-powered build system with these features:

  • Handlebars HTML templates with Panini
  • Sass compilation and autoprefixing
  • JavaScript module bundling with webpack
  • Built-in BrowserSync server
  • For production builds:
    • CSS compression
    • JavaScript module bundling with webpack
    • Image compression

Installation

To use this template, your computer needs:

  • NodeJS (Version 12 recommended, tested with 12.16.3)
  • Git
  1. Download or clone the template.
git clone [email protected]:rafibomb/gulp-sass-handlebars-template.git your_project_name
  1. If you cloned, return (skip this step) :) Else if you downloaded, unzip and rename the file to your project name.

  2. Then open the folder in your command line, and install the needed dependencies:

cd your_project_name
yarn
  1. Run yarn start to run Gulp. Your compiled site will be created in a folder called dist, viewable at this URL:
http://localhost:8000

You're ready to go!


To create compressed, production-ready assets, run yarn run build.

Dev Dependencies

SVG injector

npm

We are using SVG injector to allow SVG's to be manipulated with CSS from a simple <img> tag. Pretty neat!

Usage Add the inject-svg attribute to any img where you'd need to manipulate with CSS.

<img inject-svg src="{{root}}assets/img/icons/test-icon.svg" alt="test icon">

This will apply the .injected-svg class to the SVG. Any class you add to the img tag will be applied to the SVG.


AOS (Animate on Scroll)

Website

Usage Add data-aos along with an animation name to an element. Delay is set in ms.

<div data-aos="fade-up" data-aos-delay="50"></div>

muonspace

gulp-sass-handlebars-template's People

Contributors

dependabot[bot] avatar rafibomb avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.