- Issue created by @arrubiu
- 🇳🇱Netherlands perke Netherlands
Had a same issue, looks like jquery.once is not being loaded for anonymous users. Same library is being removed from D9+ in favor of Drupal.once library per instructions at this issue →
All you have to do is to add dependency in your theme to
core/once
and it will work - 🇳🇵Nepal sandeshyadav Dhangadhi, Kailali
As mentioned by @perke in #5, adding following under the dependencies in your `THEME.libraries.yml` fixes the issue.
- core/once
I tested in Drupal 10.
- 🇨🇦Canada druplr
Here is a patch to fix the issue for newly generated subthemes.
- @ravi-kant opened merge request.