Giter Site home page Giter Site logo

gulp4-browser-sync's Introduction

gulp4browsersync

Updating with Gulp 4 from css-tricks tutorial Using a tutorial from https://css-tricks.com/gulp-for-beginners/, we attempted to update this for Gulp 4.

Important: Follow the tutorial or read below for a summary and a list of Must Haves:

  1. Install node.js. This can be accomplished through https://nodejs.org/
  2. In your command line: npm install gulp -g ON A MAC: sudo npm install gulp -g
  3. Create a project folder, and within those folders, include individual folders for js, scss, css, fonts, images, as well as an html file titled "index/html." Note: I reccommend saving this folder to your desktop for easy access.
  4. From the command line, change directories until you're in the project folder you created. This might look like entering "cd desktop" followed by "cd project" for you.
  5. Enter npm init on the command line.
  6. A .json file will be created.
  7. Enter: npm install gulp --save-dev This installs Gulp.
  8. Install Gulp Sass from the command line: npm install gulp-sass --save-dev
  9. Install Borwser-Sync: npm install browser-sync --save-dev
  10. Edit your styles.scss file and index.html file (link them like normal).
  11. From the command line, and in your project directory enter: gulp def and see if your index.html file opens...

If not, I am sorry, my memory is fleeting, feel free to update this if you find an error.

gulp4-browser-sync's People

Contributors

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