This is a WP Plugin for Lee Goff w/ React. This uses SimilarWeb API from Rapid API to calculate Lead Generation
-
Download and Install the plugin
-
Create 2 WP Pages or a Thrive Pages and use the following shortcodes
This will launch a simple one page React 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.
- Go to the frontend folder using command prompt
- run the following:
npm install
gulp watch
- start coding ...
- Go to the admin folder using command prompt
- run the following:
npm install
gulp watch
- start coding ...
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.