Git Product home page Git Product logo

gulp-p5-starter's Introduction

P5.js starter powered by gulp to use SASS and Babel (ES6)

Includes Gulp to compile Sass into CSS, along with Autoprefixer, Babel into ES5 JS and Browser Sync.

Creates p5 canvas and puts in #canvas-wrap.

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 https://[email protected]/shramee/gulp-sass-babel.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 Sass (SCSS) files, translate ES6 to ES5 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

gulp-p5-starter's People

Contributors

shramee avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  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.