Skip to content
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

When you guys apply jquery table with bootstrap 4? #207

Open
nhanvd opened this issue Mar 11, 2016 · 3 comments
Open

When you guys apply jquery table with bootstrap 4? #207

nhanvd opened this issue Mar 11, 2016 · 3 comments

Comments

@nhanvd
Copy link

nhanvd commented Mar 11, 2016

So sorry because i don't know how to post my question to you guys, so i create an issue for this question.

I can apply the bootstrap 4 (css, js) for my new project via the gem: https://github.com/twbs/bootstrap-rubygem. And i saw your guys only support bootstrap 2 and 3. So when you guys can support us to apply jquery table with the bootstrap 4.

@feelx
Copy link

feelx commented Oct 23, 2016

I made it work for my Rails 5 app with bootstrap 4 alpha 5.

The issue I had was that the install generator wouldn't change the right CSS application file (in the code, it's editing the file application.css when the bootstrap plugin needs application.scss). So I edited one of the source file myself in order for the jquery:datatables:install to modify application.scss and not application.css.

I don't know if you were having the same issue as what I just mentioned but it worked for me.

@roooodcastro
Copy link

According to this example, DataTables has a preview version of the integration with Bootstrap 4. This should be included in the gem packaging, along with versions 2 and 3. The README should also make clear that, as Bootstrap 4 is still in alpha, the integration will probably be buggy and prone to changes.

Nonetheless, I still think that if there is this option, and it is official, it should be in the gem.

For now it's possible to use the CDN link instead of using the gem's css.

@fathiabdulrahim
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants