Skip to content

austinprice/kirby-gulp-sync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

kirby-gulp-sync

A simple Gulp environment for Kirby CMS with BrowserSync and basic compiling tasks.

Installation

  1. Download the latest version of Kirby CMS.
  2. Download this project and drop package.json and gulpfile.js in the root folder of your Kirby project.
  3. Install all required packages
npm install

Running your project

Once you've gotten everything installed, you can use Gulp to run and build your project for deployment.

Running Your Project

gulp serve

This will start a new server to run your project and open a new browser window to load it. It also compiles your Sass if you're using any. BrowserSync is connected, so any changes you make to your Sass, CSS, or PHP files will reload the page.

Building Your Project

gulp build

This will build your final project for deployment. This includes compiling Sass, optimitizing images, minifying CSS and adding browser prefixes.

Other Notes

The gulpfile.js assumes that your Sass will be stored in /assets/sass/. If you set up your Sass files differently, update the src for the styles task in gulpfile.js.

About

A simple Gulp environment for Kirby CMS and other flat-file PHP CMS's

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published