@webtekteam/elementor-widget-cli
Cli generator for Elementor widgets based on Webtek conventions
Last updated 7 months ago by webtekspa .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install @webtekteam/elementor-widget-cli 
SYNC missed versions from official npm registry.

elementor-widget-cli

Cli generator for Elementor widgets based on Webtek conventions

Compatibility

Sage: 9

Installation

npm i -g bitbucket:webtekteam/elementor-widget-cli

Usage

The command must be run from the theme directory, not from the wordpress root or iside other diretories.

Example: ew PascalName

Option Type Description
[name] string name in pascal case of the widget
-y / --js bool does the widget requires Javascript configuration?
-f / --force bool flag to force override of destination files

What it does

  • Generate php widget class
  • Generate scss file
  • Generate js file (based on flag)
  • Register widget class in PluginInit.php
  • Register entry in sage config.json file

Current Tags

  • 2.0.0                                ...           latest (7 months ago)

1 Versions

  • 2.0.0                                ...           7 months ago
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 0
Last Month 0
Dependencies (7)
Dev Dependencies (6)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |