ClassicPress js packages? - Pressidium Cookie Consent

Hi,

right now biggest hurdle for me on ClassicPress is getting to work proper cookie management system, that is compatible with GDPR and Google Consent Mode v2. On Wordpress i’m using Pressidium Cookie Consent - which is fully free, lightweight and checks all of the above, but the thing is that it’s loading react via @wordpress/element and uses few other js packages:
@wordpress/api-fetch
@wordpress/components
@wordpress/i18n
@wordpress/primitives
@wordpress/url
(via Settings page on ClassicPress · Issue #142 · pressidium/pressidium-cookie-consent · GitHub )
is it possible to load those conditionally on ClassicPress?

The plugin itself works properly, just can’t get options page to show up.

ClassicPress does not include @wordpress/components, @wordpress/primitives and @wordpress/components. Also React is not included.

I think those will never be in core, as discussed many times.

A plugin that adds conditionally all the libraries that are missing is a viable way to solve this, but at now no one has worked on it.

2 Likes

I use free cookieyes that does all the above without errors

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.