Giter VIP home page Giter VIP logo

generator-wordpress-s-theme's Introduction

generator-wordpress-s-theme

Yeoman generator for a WordPress starter theme (using Underscores) with Gulp and other good stuff. This will install the last version of _s (Underscores) and optionally a Gulp setup ready for development and production.

Important

Warning!

The generator works only correct with Nodejs v6.x.x. and below.

Reason: not support Nodejs v7.x.x in node-sass module.

Job application ends with the message:

work Error: Node Sass does not yet support your current environment...

Installation

Install required tools yo and gulp:
npm install -g yo gulp
Install generator-wordpress-s-theme:
npm install -g generator-wordpress-s-theme

Run

Create a new directory, and go into:
mkdir my-new-theme && cd $_
Run yo wordpress-s-theme, and fill the info:
yo wordpress-s-theme

Gulp usage

  • Run gulp to watch for changes
  • Run gulp build to build your theme for production (you will find a my-new-theme.zip file in my-new-theme/dist/)
  • (Optional) Run gulp build-clean before gulp build to cleanup the my-new-theme/dist/ folder

Bower usage

  • Run bower install --save <package> to install frontend dependencies
  • Run gulp wiredep to include SCSS file in /sass/style.scss

Versioning

Maintained under the Semantic Versioning guidelines.

License

MIT Copyright (c) 2016 [MNyorba]

generator-wordpress-s-theme's People

Watchers

 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.