Skip to content

Simple starter including Gulp tasks for local development and deployment to production, when you want to use CodyHouse components with Tailwind CSS.

Notifications You must be signed in to change notification settings

vaelu/codyhouse-tailwind-gulp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

codyhouse-tailwind-gulp

A little starter project when you want to use the awesome components from CodyHouse with the wonderful Tailwind CSS for small static sites. It includes a gulpfile.js with watch tasks for local development and deploy tasks for deployment to production. To better understand how the project structure works, the Virgo template from CodyHouse is included in this project as an example.

Directory structure

┌── dev/
│   ├── css/
│   │   ├── components/ (add CSS files from components here)
│   │   ├── custom.css (add your custom CSS here)
│   │   ├── _index.css
│   │   ├── project.css (add codyhouse project styles here)
│   │   └── utilities.css (add your custom utilities here)
│   ├── html/ (add html files here)
│   ├── img/ (add images here)
│   └── js/
│       ├── components/ (add JS files from components here)
│       └── custom.js (add your custom JS here)
└── public/
    ├── css/
    │   ├── styles.css (dev CSS for local development)
    │   └── styles.min.css (optimized CSS for production)
    ├── img/ (contains optimized images)
    └── js/
        ├── scripts.js (dev JS for local development)
        └── scripts.min.js (optimized JS for production)

Add project styles from CodyHouse

In project.css you can insert your project styles from CodyHouse, which you can download from your CodyHouse project.

Gulp tasks

  • gulp watch watches your HTML, CSS and JS files and compile CSS and concat JS every time something has changed.
  • gulp deploy moves, minifies, autoprefixes, renames your files to public/ folder.

Tailwind config

The tailwind.config.js file contains everything required for CodyHouse to work properly, as described in their docs.

About

Simple starter including Gulp tasks for local development and deployment to production, when you want to use CodyHouse components with Tailwind CSS.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published