0.0.2 • Published 2 years ago

@moelp/generator-wpcomponents v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Wordpress Components Yeoman Generator

standard-readme compliant

A Yeoman generator for wordpress components with twig

Table of Contents

Install

The node version used should be ^16. If you use a node version manager (e.g. nvm), use nvm to change the version.

First install Yeoman:

$ npm i -g yo

Install the generator:

$ npm i -g @moelp/generator-wpcomponents

Otherwise you can use yarn as well:

$ yarn global add @moelp/generator-wpcomponents

Usage

Run yo @moelp/wpcomponents to start the generator. You can select Components.

Maintainers

This project is maintained by moelp.

Contribute

To contribute, please use GitHub issues.

If you are a developer and would like to submit a pull request, do the following:

  1. Fork the project and clone it.
  2. Run npm install inside the cloned folder.
  3. Run npm link to link the local installation for development purposes. (Run npm unlink to undo this step.)
  4. In any folder run yo @empatic/components to run your local development version and test your changes.
  5. Send a pull request from your fork to the main repo's master branch.

If editing the README, please conform to the standard-readme specification.

Git and Commits

License

MIT © moelp