Issue
- As a developer, I would like to identify the exact version of Clay on the specific DXP version (and patch level) which is currently running.
Environment
- DXP 7.1
Resolution
-
Please go to Control Panel -> System Settings -> Javascript Loader and enable the option Explain module resolutions.
-
When this option is set, reload the page and search in browser console for package
frontend-taglib-claywhere logs are shown, for example:"frontend-taglib-clay$clay-button@2.20.2/lib/ClayButton", "frontend-taglib-clay$clay-alert@2.20.2/lib/ClayAlertBase.soy", "frontend-taglib-clay$clay-alert@2.20.2/lib/ClayAlertBase"
This also tells the version number itself. In the example above it is actually 2.20.2 - this is the one Liferay is providing in Clay taglibs under DXP 7.1.
-
That means, in case Clay taglibs are applied, that one is the Clay version which is available for use.
-
Please note: There is no available option present out-of-the-box in liferay-clay taglibs to set which Clay version to be used, on demand.