Git Product home page Git Product logo

generator-foundation-browserify's Introduction

Foundation + Browserify Project Generator

Improve your workflow by harnessing the power of Browserify with your Foundation projects!

Head to the Quick Start Guide if you're ready to go. If you're not sure why you should be using this generator, or aren't familiar with some of the tools it offers, check out the Generator Overview Wiki.

This Generator Comes With

  • Foundation 6 / Foundation 5
  • Browserify dependency bundling
  • Gulp task management
  • Sass compiling
    • LibSass
    • Compass (option for Foundation 5)
  • BrowserSync server with live reloading
  • Babel for ECMAScript 6, 2015 preset (option)
  • Autoprefixer for CSS Vendor Prefixes (option)
  • Bourbon Sass Mixin Library (option)
  • Motion UI Sass Library (option for Foundation 6)
  • Source Maps (option)
  • Font Awesome iconic font (option)
  • Pug Template Engine (option)

Quick Start Guide

Installation

If Yeoman isn't already installed:

npm install -g yo

Install the generator from npm:

npm install -g generator-foundation-browserify

Already installed? Update to the latest version of the generator by running yo and selecting Update your generators

Generate a Project

Navigate to your project folder and initiate the generator:

yo foundation-browserify

Answer the configuration prompts and allow the installation to complete.

Workflow

Within your project folder, run gulp to start the server and watch for changes:

gulp

Include the --prod flag to export production-ready minified files (note: increases gulp task time, leave off for dev purposes):

gulp --prod

Edit the html/pug, scss and js files in the src directory

Gulp will serve finalized versions to the build directory

License

MIT

generator-foundation-browserify's People

Contributors

dougmacklin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

generator-foundation-browserify's Issues

PhpStorm CSS code completion?

Hi, I set up a foundation-gulp-browserify project within phpstorm, but what ever I do, I will not get autocompletion for foundation css classes. Any hint on how to accomplish that? Thank you!

Add pug option?

Amazing! This is almost exactly my setup that I use! Do you think you could also add an option to install pug instead of jade?

foundation5 javascripts not loaded

when using Foundation 5 (haven't tested with 6) the Foundation javascript isn't loaded.
Reveal and the Accordion aren't working.

Any suggestions?

Support for foundation 6.4.0

Recent commit says that foundation 6.4.0 requires some changes. I am hoping this generator can be updated in the future.

Browsersync & Production

Hey @dougmacklin - thanks for creating this generator. I'm new to using Browsersync, and was hoping you could help me troubleshoot. When I deploy to a Node.js instance on AWS Lightsail and run npm start (gulp) - it launches the Browsersync UI in the the static IP address for my instance. Thanks in advance!

heidi

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.