PMC Taboola
This plugin adds Taboola actions to a site to it can be rendered on articles.
Setup:
- The plugin needs to be activated in the theme
- A location where the Taboola widget should display needs to be set
- A configuration for the site id needs to be set
Working with assets
Install
$ cd pmc-plugins/pmc-taboola
$ nvm install
$ npm installJest tests
# Run tests
$ cd pmc-plugins/pmc-taboola
$ npm run testBuild
# Run build
$ cd pmc-plugins/pmc-taboola
$ npm run buildLint js
# Run build
$ cd pmc-plugins/pmc-taboola
$ npm run lint:jsFormat js
# Run build
$ cd pmc-plugins/pmc-taboola
$ npm run format:js