Skip to content

This is a WP Plugin for Lee Goff w/ React. This uses SimilarWeb API from Rapid API to calculate Lead Generation

Notifications You must be signed in to change notification settings

ahmedmusawir/lee-goff-similarweb-react-plugin

Repository files navigation

lee-goff-similarweb-react-plugin

This is a WP Plugin for Lee Goff w/ React. This uses SimilarWeb API from Rapid API to calculate Lead Generation

Details:

  1. Download and Install the plugin

  2. Create 2 WP Pages or a Thrive Pages and use the following shortcodes

[react_plugin_app_1]

This will launch a simple one page React App

[react_router_app]

This will launch a simple example app with Browser Router enabled. This will have a Menu bar with 3 pages with navigation. The page functionalities are not working. They're there just to prove that the Browser Router is working.

Important Versions:

React 16.14

React Router Dom 5.3.0

Bable Core 7.6

Gulp 4.0.2

jQuery 3.6.0

Frontend JS and Styling (scss)

  1. Go to the frontend folder using command prompt
  2. run the following:
  • npm install
  • gulp watch
  1. start coding ...

Admin JS and Styling (scss)

  1. Go to the admin folder using command prompt
  2. run the following:
  • npm install
  • gulp watch
  1. start coding ...

Special Changes

The gulp.js file was re-written with reactify. The normal uglify wasn't working with React. uglify.js will work with normal Javascript/jQuery.

Also, the vanilla js has a click event on the body, so that will generate a console log message which needs to be removed.

About

This is a WP Plugin for Lee Goff w/ React. This uses SimilarWeb API from Rapid API to calculate Lead Generation

Resources

Stars

Watchers

Forks

Packages

No packages published