generator-thm
thm generator
Last updated 4 years ago by thesublimeobject .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install generator-thm 
SYNC missed versions from official npm registry.

generator-thm

Usage

A yeoman generator for KBD Wordpress sites.

Install

Install required tools yo and gulp:
npm install -g yo gulp
Install generator-thm:
npm install -g generator-thm

Run

Create a new directory, and change into:
mkdir my-new-project && cd $_
Run yo thm, and select options:
yo thm

Remember

After install remeber to do a few things.

  • Change the proxy address in config.coffee.
  • Sometimes ACF files are unzipped, but not installed. You may need to delete them and re-install through WP.
  • Enter license keys for both MDB and ACF.
  • Run gulp and you should be good to go.

New changes for v0.1.1+

  • Assets directory moved to the root
  • Webpack now compiles ES6/Sass
  • For local dev run gulp as usual
  • In order to build for production run npm build
  • CSS file builds as build.css and load.js is no longer in footer by default. Make your own decisions about using loadjs or something else.
  • For hot-reloading to work you must add acceptance to modules. (TODO: automatically apply this via NPM module.)

Current Tags

  • 0.1.3                                ...           latest (4 years ago)

9 Versions

  • 0.1.3                                ...           4 years ago
  • 0.1.2                                ...           4 years ago
  • 0.1.1                                ...           4 years ago
  • 0.1.0                                ...           4 years ago
  • 0.0.5                                ...           5 years ago
  • 0.0.4                                ...           5 years ago
  • 0.0.3                                ...           5 years ago
  • 0.0.2                                ...           5 years ago
  • 0.0.1                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (15)
Dev Dependencies (1)
Dependents (2)

Copyright 2014 - 2017 © taobao.org |