-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat: Drop jQuery and bootstrap #75
Comments
Hi, Idea: In best case with lazy load as default (Without --preload). The main problem that i see, is that projects can have already bootstrap in there project with a different version. One part of the solution could be the Greetz |
I will have a look at the suggested js libs, as soon as if i have some time. |
Hello, Yes I think Tom select is better (I personally use it too). Just try to match your use cases. UX-autocomplete is for me a good alternative. |
An other solution could be to have multiple templates (as Symfony do) for either bootstrap 4 and 5 (why not more). Providing a "base" template is not a good way for me. In an other hand it is easier to override 😉. Because bootstrap confirm is not compatible with Bootstrap5 I try to write my own plugin. |
Ryan Weaver works hard to improve the AssetMapper Component. I love it. I am in favour to have less dependencies. But i guess i do not have time to implement this. At least not in the near future. PR's welcome |
Just to try it out, I'm trying to implement If you have any clue on how to do it I'm glad to ear you. |
I have integrated it in 2 real projects. But i do not how to use AssetMapper depedencies in Bundles. |
We don't have a clear path yet for bundles to rely on AssetMapper, which is a bummer. The problem is that if a bundle requires |
Thanks for the input Ryan and all the work for the AssetMapper-Component. @kl3sk It is way more simpler to, just add split/copy the templates. One for standalone use (this already exists), and one for integration into an existing layout. Additional some documentation needs to be written, which command are necessary to integrate the external libs with AssetMapper |
@weaverryan thanks for all your work for the Symfony community. @Chris53897 I will dive into it when I found some time. Please be patient. I'll thanks everyone for this great community. |
Hello,
I think jQuery can be dropped in favour of vanilla JS.
On the other hand, Bootstrap can be dropped (but used as a separate template or leaving its classes),
last but not least, all assets could be managed by the new (I didn't test yet) Asset mapper.
This could reduce dramatically the size of the bundle to be focused on what it is meat to be "Schedule", and let the user to choose their own strategies.
Note:
Unfortunately Boostrap confirmation is not Bootstrap 5 ready (and may will not). and already use jQuery
But other alternative can be considered like
Thanks
The text was updated successfully, but these errors were encountered: