Skip to content

cssanimation/gulp-postcss-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Starter for HTML/CSS/JS projects

Includes Gulp to process PostCSS into native CSS, with Browser Sync.

PostCSS plugins include:

  • Autoprefixer
  • Simple Vars
  • Nested CSS

Setup

Before starting, you'll need Node (which includes NPM).

If using OSX, I'd recommend this guide to getting set up with Node and NPM.

Then install Gulp using npm install -g gulp. This installs Gulp globally and is needed later.

Clone this repo to your local computer using this command:

git clone [email protected]:cssanimation/gulp-postcss-starter.git starter

With the files downloaded, navigate to your starter folder on the command line (or Terminal) and run npm install to set things up.

If that doesn't work, it may be necessary to use sudo npm install.

With this set up, you should now be able to run:

gulp

This will process any PostCSS styles files and launch a web browser showing the current files. Making changes to the files should result in the page updating automatically.

Questions

Drop me a line at [email protected] with any questions or thoughts. Pull requests welcomed!

License

MIT

About

A starter project using Gulp, PostCSS and Browsersync

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published