- πΈπ°Slovakia lubwn
I have also solved this by adding yoast_seo.js to libraries.yml file of my theme.
But I am not sure if I did it right, my code is:
global-styling: version: VERSION css: base: css/adminimal.css: {} js: /modules/contrib/yoast_seo/js/yoast_seo.js: {} js/scripts.js: {} dependencies: - core/jquery - yoast_seo/yoast_seo_admin - yoast_seo/yoast_seo_core
So I wrote the path from root as I have no idea how to include this from module / library perspective. But it works.
- π§πͺBelgium dieterholvoet Brussels
A cache rebuild fixed the issue for me.