Skip to content

BS5 in Joomla 4 #32350

Feb 5, 2021 · 11 comments · 4 replies
Discussion options

You must be logged in to vote

So, in reality we get BS forced upon us now... where in J3 we could get rid of it, now in j4 we can't anymore..?

If this is what you understood from what I wrote, you totally got it wrong

in assets manager docs I don't see an unload, disable or do not use feature nor do I see a reference to bootstrap so it is harder coded than in this Asset Manager...

No, it's not it's again just a 1 line (per component, there is no Bootstrap.js anymore as I explained above):

// Will not load the Bootstrap Collapse
Factory::getDocument()->getWebAssetManager()->disableScript('bootstrap.collapse');

FWIW you shouldn't use jQuery

Replies: 11 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@richard67
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by richard67
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@richard67
Comment options

@dgrammatiko
Comment options

@richard67
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants
Converted from issue

This discussion was converted from issue #32312 on February 07, 2021 20:56.