-
Notifications
You must be signed in to change notification settings - Fork 115
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
Bootstrap 5 and Vanilla JS #83
Comments
Hi @badstorm, nope, sorry. I will not work on this anytime soon. I've did some experiments. As far as I can tell, without jQuery we need to rewrite stuff or depend on third party libraries. Are you interested in contributing with a PR? |
Hi @tagliala, since i need to implement a non jquery version in one of my project I can try to work on it. If you add a branch with your experiments I can take a look and try to work on it (in my free time) |
I've dropped everything except the code you can see in this comment: #80 (comment) Anyway, I would like to perform the following steps for this gem:
I've also found this blog post. Code snippets are licensed under MIT |
This is an experimental working version with Bootstrap 5 AND jQuery |
In a project that is not using Webpack, added the solution of @tagliala in location
for:
and it worked. |
Hi, I think it's because
is being triggered after |
I'm trying to rewrite your experiment version in ES6 with no jQuery support. I have a onRails project that use But In ES6 modules are imported readonly and so I don't know how to extend the original Rails object ( Dose anyone have some suggestion about that? Thanks |
can you share the error you are getting? |
This is my actual file structure:
I get the error at line Rails.confirm = and the error is Cannot assign to 'confirm' because it is an import. |
We should also get rid of https://gorails.com/episodes/custom-hotwire-turbo-confirm-modals |
Hi, has anyone already started converting this to Vanilla JS for support for the next Bootstrap 5?
The text was updated successfully, but these errors were encountered: