https://github.com/gera2ld/generator-h5
Create an HTML5 workspace rapidly using yeoman
https://github.com/gera2ld/generator-h5
yeoman
Last synced: over 1 year ago
JSON representation
Create an HTML5 workspace rapidly using yeoman
- Host: GitHub
- URL: https://github.com/gera2ld/generator-h5
- Owner: gera2ld
- Created: 2016-11-06T14:51:06.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-06-18T12:37:32.000Z (about 4 years ago)
- Last Synced: 2025-04-15T06:42:51.831Z (over 1 year ago)
- Topics: yeoman
- Language: JavaScript
- Homepage:
- Size: 226 KB
- Stars: 4
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# @gera2ld/generator-h5

Yeoman generator to create a workspace for static pages rapidly.
Requires Node.js v8.0+.
## Features
- Latest ECMAScript features
- Multiple pages via a config file
- Popular frameworks: Vue, React
- Webpack v4 + Babel v7
- Scale document elements with `rem`
- Reveal.js
- JSX for DOM
- TypeScript
- tailwindcss
Generators:
- `@gera2ld/h5`
- `@gera2ld/h5:reveal`
- `@gera2ld/h5:jsx-dom`
## Usage
```sh
# Use the latest version from git
$ npx -p git+ssh://git@github.com:gera2ld/generator-h5.git -p yo yo @gera2ld/h5
```
- Initialize an HTML5 project:
``` sh
$ cd my-project
$ yo @gera2ld/h5
```
- Initialize a presentation project (with Reveal.js):
```sh
$ cd my-project
$ yo @gera2ld/h5:reveal
```
- Initialize a project with JSX support:
```sh
$ cd my-project
$ yo @gera2ld/h5:jsx-dom
```