Giter Site home page Giter Site logo

rabbiislamrony / gulp-with-tailwindcss Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lazymozek/gulp-with-tailwindcss

0.0 0.0 0.0 936 KB

Gulp with TailwindCSS Starter Kit

Home Page: https://gulp-with-tailwindcss.com

License: MIT License

JavaScript 52.96% HTML 28.21% SCSS 18.83%

gulp-with-tailwindcss's Introduction

Gulp with TailwindCSS Starter Kit

Gulp with TailwindCSS v3 Starter Kit ( Updated with TailwindCSS JIT - latest tailwind has JIT is built-in ) - A repo that makes your development easier with predefined gulp tasks that help you to use tailwindcss with simple commands.

Features

Quick Start

You can get started by clicking on Use this template for creating new repo using this template or simply by cloning it.

Install dev dependencies

yarn install // or npm install

Start development server with live preview

yarn dev // or npm run dev

Generate build files for production server

yarn prod // or npm run prod

All dev files are present in src folder. The build version can be found in build folder after running yarn build command.

Configuration

All configurations are found in config.js file in the root directory. You can configure browser default port, enable/disable plugins by simply updating boolean values (Default is set to true) and many more.

const config = {
  tailwindjs: "./tailwind.config.js",
  port: 9050, // default port
  // purgecss options
  purgecss: {
    content: ["src/**/*.{html,js,php}"],
    ...
  },
  // imagemin options for image optimizations
  imagemin: {
    png: [0.7, 0.7], // range between min (0) and max (1) as quality - 70% with current values for png images,
    jpeg: 70, // % of compression for jpg, jpeg images
  },
};

// tailwind plugins
const plugins = {
  typography: true, // set to false to disable
  forms: true,
  containerQueries: true,
};
...

License

This project is open source and available under the MIT License.

gulp-with-tailwindcss's People

Contributors

manjumjn avatar dependabot[bot] avatar guilhermedtna avatar konradlinkowski 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.