Code Monkey home page Code Monkey logo

gulp-modern-frontend-template's Introduction

GULP: The Production Ready Modern FrontEnd Template

This is a production-ready project built with Gulp. The project comes pre-configured with tasks that compile Sass to CSS, Less to CSS, minify JS, optimize images, and minify HTML.

Prerequisites

Before you can use this project, you must have the following software installed on your machine:

  • Node.js
  • Gulp CLI (you can install it by running npm install -g gulp-cli)

Installation

  1. Clone the repository to your local machine.
  2. Open the terminal and navigate to the project directory.
  3. Run npm install to install the required dependencies.

Usage

To use this project, open the terminal in the project directory and run the command:

These tasks include:

  • sassTask: Compiles Sass to CSS
  • lessTask: Compiles Less to CSS
  • jsTask: Minifies JS and transpiles with Babel
  • imageTask: Optimizes images
  • htmlMinify: Minifies HTML

To run an individual task, open the terminal in the project directory and run the command:

npm run dev

This will start the default npm task, which will compile all of the source files and start a BrowserSync server that will automatically reload the browser when changes are made. After each task successfully finishes, the generated files will be placed in the dist folder. This is where developers can find the compiled and optimized project files that are ready for deployment.

Contributing

I cordially invite you to contribute to the GULP: The Production Ready Modern FrontEnd Template. Your contributions will be highly appreciated. GitHub is utilized by me to manage my codebase and to accept pull requests from any individuals who express interest in assisting me with enhancing this template. Please ensure that you review the contributing guidelines prior to submitting any modifications.

Author & Contact Information

Created by Chen Lay. Contact me at [email protected] for any inquiries or questions.

License

This project is licensed under the MIT license. See the LICENSE file for more details.

gulp-modern-frontend-template's People

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 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.