📐Gulp setup

How to do development using Gulp

Gulp is not mandatory

You may skip this section if you don't want Gulp in your project. Please use dist/ directory in your project.

You can use Gulp to Automate and enhance your project workflow.

Don't know about Gulp?

Gulp is a toolkit for automating painful or time-consuming tasks in your project development workflow, so you can stop messing around and build something easier than ever.

  • Auto Minify/Uglify CSS, HTML, JS codes

  • Auto Compile SaSS file

  • 3000+ Plugins

Gulp for Mantis

Use Gulp in Mantis is for building different layouts and theme customization with lots of functional tasks like Image Optimization, SaSS compilation, etc...which really useful to make the production ready dist/directory

How to set up Gulp for Mantis?

  1. Make sure that you have already installed Nodejs and Gulp on your server/computer

  2. Open the "Nodejs Command prompt" and redirect to your project root directory.

  3. Enter the command yarn in the command prompt.

  4. After that, you need to run the below gulp tasks to build production ready dist/ directory.

Gulp Commands(task)

Default task

Basic task

Last updated