-
What is the recommended way to load assets? Especially jquery? HTMLHelper('bootstrap.framework'); or set a dependency in joomla.asset.json of own extensions? As Joomla not uses jQuery any more. Do we need the row any more: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
In general, for load an assets use Asset Manager https://docs.joomla.org/J4.x:Web_Assets for Joomla 4 HTMLHelper('bootstrap.framework') it is a helper, that internally uses Asset Manager. You still can use it also. |
Beta Was this translation helpful? Give feedback.
-
Especially jQuery is something you shouldn’t be using in 2021. Just saying... |
Beta Was this translation helpful? Give feedback.
In general, for load an assets use Asset Manager https://docs.joomla.org/J4.x:Web_Assets for Joomla 4
HTMLHelper('bootstrap.framework') it is a helper, that internally uses Asset Manager. You still can use it also.