0.3.0 • Published 6 years ago

@gera2ld/generator-h5 v0.3.0

Weekly downloads
5
License
ISC
Repository
github
Last release
6 years ago

@gera2ld/generator-h5

NPM

Yeoman generator to create a workspace for static pages rapidly.

Requires Node.js v8.0+.

Features

  • Latest ECMAScript features
  • Multiple pages support via a config file
  • Popular frameworks support: Vue, React
  • Webpack v4 + Babel v7
  • Scale document elements with rem
  • Reveal.js support
  • JSX support for DOM
  • TypeScript support

Generators:

  • @gera2ld/h5
  • @gera2ld/h5:reveal
  • @gera2ld/h5:jsx-dom

Installation

It is highly recommended to use with Yarn.

$ yarn global add @gera2ld/generator-h5

# You can also clone the generator and link it to global node_modules
$ git clone https://github.com/gera2ld/generator-h5.git
$ cd path/to/generator-h5 && yarn link

# Make sure yo is installed
$ yarn global add yo

Usage

  • Initialize an HTML5 project:

    $ cd my-project
    $ yo @gera2ld/h5
  • Initialize a presentation project (with Reveal.js):

    $ cd my-project
    $ yo @gera2ld/h5:reveal
  • Initialize a project with JSX support:

    $ cd my-project
    $ yo @gera2ld/h5:jsx-dom
0.3.0

6 years ago

0.2.1

7 years ago

0.2.0

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago