Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@betrue/react-elementor

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@betrue/react-elementor

Nx plugin to generate Wordpress plugin that enrich Elementor with ReactJS widgets. All widget are wrapped in web component that will act as a proxy between elementor and react. all web components uses shadow dom to prevent css overload.

npmnpm
Version
0.0.2
Version published
Weekly downloads
25
-72.83%
Maintainers
1
Weekly downloads
 
Created
Source

Nx ReactJS elementor widgets

Nx plugin to generate Wordpress plugin that enrich Elementor with ReactJS widgets. All widget are wrapped in web component that will act as a proxy between elementor and react. all web components uses shadow dom to prevent css overload.

State between component is maintained using Redux.

Plugins

PluginDescription
@betrue/reactjs-elementorGenerate Reactjs Elementor widgets in Wordpress plugin;

Usage

Create a Wordpress plugin that will wrap all elementor widgets @betrue/reactjs-elementor:plugin my-project

You can now serve the app to see the generated web component in action on http://localhost:4200

nx serve my-project

If you have already installed docker and docker-compose you can try the elementor plugin in wordpress

nx elementor my-project // to build the plugin start docker-compose

docker-compose -f apps/my-project/src/docker-compose.yml up -d

Add a new widget to an existing plugin

@betrue/nx-reactjs-elementor:addWidget --name my-widget --plugin my-plugin --attributes attr1,attr2

OptionDescription
name(Required) name of the Reactjs elementor widget
plugin(Required) The name of the Wordpress plugin in which the widget will be generated.
attributesList of attribute that are customizable in elementor
directoryA directory where the project is placed (sub-directory in lib).
authorName of who makes this plugin.
tagsAdd tags to the project (used for linting).
widgetDescriptionWidget description that appear in Wordpress plugin view.
versionWordpress plugin version.

Maintainers

FAQs

Package last updated on 16 Sep 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts