Any help on this would be greatly appreciated. I figured I’d go ahead and update since my site uses Bootstrap5 and Concrete 9 supports it, but now I’m finding it extremely hard to find out to get everything working as there’s basically no documentation for version 9 yet.
I have started tinkering around with it and built a “Boilerplate” theme for our client work with it. - It works mostyl as intended with one very major caviat:
I truly hate the fact that using Bedrock requires to globally load/include jQuery and vue.js on every page. - Its’ so unnecessary in many cases.
Most of our clients/ projects don’t make use the more complex Blocks (Calendar/ Conversation/ etc.) that would justify the load weight of those libraries. - So i don’t want them to be loaded on most pages.
In my opinion these libraries should be required in the BlockTemplate, where they are really needed, so they are only loaded on pages where they are needed.
Bootstrap5/ native JS should take care of things like collapsing, dropdowns and other JS functionality that might be used globally in the theme and within different simple BlockTypes (Autonav, Hero, Navbar, etc.)
So right now i am focusing on building a Bootstrap5 Theme for v9 without Bedrock. While still trying to support most, if not all Block Types in a minimal manner. Without globally loading jQuery or vue.js
This seems to be impossible though. - jQuery for example is still “required” in some Block Controllers and i don’t want to go as far as overriding Controllers.