Message of the day:
Release 4.5.0 is out. Changelog: https://docs.silverstripe.org/en/4/changelogs/4.5.0
SilverStripe 4 related information and questions.
If you look in your network tab, it’s probably loading jQuery as well as the jQuery that’s bundled into your compiled JS
Yeah display-logic on the frontend is problematic to say the least…
I'm sure there are more recent and modern libraries that you could use with
this display logic module is designed to work in the CMS.
Not sure how that'd work with applying plugins via modules with e.g. webpack.
If you've not developed in an oldschool JS world before, jQuery works by importing files in order to apply plugins.
and only in admin. Where entwine is bound.
you need to use
ah right, that makes sense. So I need to use the core jQuery instance? FYI, I’m using the Display Logic on the frontend. Is there a way I can access the entwine that’s registered against the core jQuery instance or specify the file to use a specific jquery?