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

Bootstrap v5 support #5507

Open
leipert opened this issue Jun 17, 2020 · 47 comments
Open

Bootstrap v5 support #5507

leipert opened this issue Jun 17, 2020 · 47 comments

Comments

@leipert
Copy link
Contributor

leipert commented Jun 17, 2020

Recently Bootstrap announced the first v5 Alpha: https://blog.getbootstrap.com/2020/06/16/bootstrap-5-alpha/

Just raising this issue to gather ideas how a potential migration plan might look like.

@DM2489
Copy link
Contributor

DM2489 commented Jul 3, 2020

Maybe it would be worth pinning this issue so that it is more visible to people?

@Hiws
Copy link
Member

Hiws commented Aug 5, 2020

BootstrapVue v2:

  • Feature-freeze after v2.17.0
  • Only critical bugfixes and security updates

BootstrapVue v3:

  • Based on BootstrapVue 2.17.0
  • Vue.js v3 support
  • Bootstrap v4.x support
  • Release: Short after Vue.js v3 release

BootstrapVue v4:

  • Complete rewrite
  • Vue.js v3 support
  • Bootstrap v5 support
  • Release: No ETA yet

#5196 (comment)

@DM2489
Copy link
Contributor

DM2489 commented Aug 5, 2020

@Hiws Can this be pinned please?

@LoopsGod
Copy link

Yes please pin, I had to go look for it glad I found it.

@realnot
Copy link

realnot commented Oct 22, 2020

Please, keep in mind that several developers which run enterprise application won't switch to Vue 3 due to lack of plugins not ready for vue 3 itself, but they wish to benefit of bootstrap 5 improvements.

@Hiws
Copy link
Member

Hiws commented Oct 22, 2020

Please, keep in mind that several developers which run enterprise application won't switch to Vue 3 due to lack of plugins not ready for vue 3 itself, but they wish to benefit of bootstrap 5 improvements.

We are looking into supporting both Vue 2 and Vue 3 with the BootstrapVue 3 release by utilizing https://github.com/antfu/vue-demi which looks pretty promising.
Which should hopefully mean we can end up on a version that will support both Vue 2/3 + Bootstrap 5.

@RedShift1
Copy link

BootstrapVue v4:

Complete rewrite

Please don't rewrite the project. Thousands of hours have gone into this project along with thousands of bugfixes, improvements, etc... Experience that all will be undone by rewriting the project, it will take years to get to the same level of features, refinement and bugless-ness with the end result that you're basically at the same point as you were a couple of years before, only now it's been "re-written".

@Speedy059
Copy link

BootstrapVue v4:
Complete rewrite

Please don't rewrite the project. Thousands of hours have gone into this project along with thousands of bugfixes, improvements, etc... Experience that all will be undone by rewriting the project, it will take years to get to the same level of features, refinement and bugless-ness with the end result that you're basically at the same point as you were a couple of years before, only now it's been "re-written".

Not sure why you are getting down voted. Bootstrap-vue should upgrade to Vue3 by continuing to use the Options API, and then slowly change it over to the composition API.

@jd-solanki
Copy link
Contributor

Is there ETA now for BS5 + Vue3?

Sorry for this but I wasn't able to find a new update on this.

@ux-engineer
Copy link

@jd-0001 Bootstrap just moved v5 stable release target to February 2021.

I'd be likewise interested to know how long it might take to have BSV on BS v5 after v5 has reached stable version? To have some estimate of this years framework update schedule targets.

@ux-engineer
Copy link

@jackmu95 now that Vue 3 support upgrade has taken a longer route, does it reduce the amount of work to be done for achieving BS 5 support, as earlier it was mentioned that BS 5 based version will be a complete rewrite?

@jacobmllr95
Copy link
Member

jacobmllr95 commented Jan 8, 2021

Bootstrap 5 support is a major breaking change and requires completely different changes than the ones for Vue 3 support.

We first need to finish the changes for Vue 3 which will ship in BootstrapVue v3.
Then we can focus on Bootstrap 5 support which will land in BootstrapVue v4.

I can't promise right now when BV v4 will ship after the Bootstrap 5 release, but it is less work supporting Bootstrap 5 than Vue 3. We should be able to have a BV release 1 or 2 months later.

BootstrapVue v3 (with Bootstrap v4) support will also match the EOL from Bootstrap.

@laoshaw
Copy link

laoshaw commented Feb 15, 2021

What about Vue 2 + Bootstrap 5? It seems Vue 2 will stay for quite a while.

@Hiws
Copy link
Member

Hiws commented Feb 15, 2021

What about Vue 2 + Bootstrap 5? It seems Vue 2 will stay for quite a while.

I believe the current plan is still for BootstrapVue 3 to support both Vue 2, and Vue 3.
And I believe that would carry into BootstrapVue 4, which will convert from Bootstrap 4 to Bootstrap 5.

@raress96
Copy link

raress96 commented Mar 6, 2021

Why not rename BootstrapVue v4 to BootstrapVue v5, so it has the same number as Bootstrap 5?I think it will be less confusing for new users.

@binaryfire
Copy link

Now that Bootstrap 5 has dropped jquery, is there any advantage to using BootstrapVue with BS v5?

For example: https://dev.to/codeply/using-bootstrap-5-with-vue-js-5fnp

What would the advantage be of using a wrapper like BootstrapVue vs a direct integration like the above example?

@MechJosh0
Copy link

@binaryfire I have actually been building my own Bootstrap v5 library because we're in a situation where we can't wait for BootstrapVue. There have only been a few tricky bits with getting it to work with Vue, overall it's been a lot easier than I expected though.

Saying that, I wouldn't recommend it if you're in a situation where you can wait. You're still having to do all of the boilerplate work that library will handle for you. Creating a component, creating all the various prop/slot options you need, and getting the Bootstrap javascript to work. It's still time consuming. Some components are very simple, whereas some need a lot of time.

If you need it now and only need a small amount of components, you should go that route. But if you can wait, you should because you're still avoiding all the integration and boilerplate work.

@binaryfire
Copy link

@MechJosh0 Thanks, that's very helpful. Looks like I'll be waiting :)

We're starting work on a new app soon so I want to use Bootstrap 5 and Vue 3 from the start. Hope a new version isn't too far!

@dosstx
Copy link

dosstx commented Mar 10, 2021

Bootstrapvue contains several components that are not available with Bootstrap5 such as form tags, overlay, skeleton, etc. that’s why I use BootstrapVue.

@ayoubkhan558-zz
Copy link

When we can expect Vuejs 3 support coming?

@Hiws
Copy link
Member

Hiws commented Mar 20, 2021

When we can expect Vuejs 3 support coming?

Wrong issue.

@hussainfrotan
Copy link

I'm waiting for bootstrap 5 and vue 3 support since long ago. there is no option for me but to go for pure bootstrap.

@binaryfire
Copy link

The final beta of Bootstrap 5 was released last week: https://blog.getbootstrap.com/2021/03/23/bootstrap-5-beta-3/. The RC won't be far off now.

I love BootstrapVue but the reality is no-one starting a new Bootstrap project today is going to build it with Bootstrap 4. Or Vuejs 2.

I understand the need to maintain the current codebase for existing projects, but BootstrapVue won't be able to compete with other frameworks if it leaves it much longer. For example Vuetify have already released an alpha of their Vuejs 3 rewrite: https://vuetifyjs.com/en/introduction/roadmap/

I hope we see some progress on a new version soon. If there's a link where I can donate towards a BS5 / Vue3 rewrite please let me know. I'd be happy to contribute!

@sdwru
Copy link

sdwru commented Apr 6, 2021

The major version number should be synced to Bootstrap version imo. I find it quite confusing knowing which is for which when combined with Vue version numbers and changes.

So BootstrapVue version that supports Bootstrap 5.x should also be v5.x and scrap the idea of calling it v4 altogether.

@MechJosh0
Copy link

The major version number should be synced to Bootstrap version imo. I find it quite confusing knowing which is for which when combined with Vue version numbers and changes.

Why sync with Bootstrap version? Why not Vue version? Or why not based on how versions should be done.

The package version should not be dictated by the dependency versions it uses. Major versions should be by breaking changes as per the majority understanding of how versions are used.

... Breaking changes are indicated by increasing the major number (high risk)...
https://en.m.wikipedia.org/wiki/Software_versioning

@laoshaw
Copy link

laoshaw commented May 9, 2021

or,use primevue,free and vue3 ready

@binaryfire
Copy link

Hi guys

It would be great to get a comment from one of the maintainers on this issue. Bootstrap 5 is out now and being used.

Are there actually plans to move to v5 or will this remain a legacy / v4 framework? And if there will be a move to v5, do you have a roadmap or timeframe? Even some approximate timeframes for when the team will start actively working on a v5 branch and when the target is for an alpha release would help. Months? Next year?

That way we can at least make a decision on whether we can wait or move to a different framework. The radio silence isn't great.

@MycroftHolmes1989
Copy link

Honestly, a public roadmap will be really appreciated.

@jscaux
Copy link

jscaux commented Jun 16, 2021

Your mileage will certainly vary, but if you're lucky and have a relatively small app depending on a limited number of components (like I do), you might find that refactoring to a simple Vue / Bootstrap 5 stack (bypassing BootstrapVue altogether) is much easier than expected (upgrading to Vue3 as a bonus while you're at it), and much less work than refactoring to a completely different framework.

If this issue is solved at some point in the future, you can then consider progressively plugging this framework back into your stack (if there is then any point in doing that) with less refactoring than if you had gone a completely separate route. Or maybe you'll then find that V3/B5 spiced up with custom JS is honestly good enough to keep you going. Whichever way you choose to go as you move on, good luck!

@dosstx
Copy link

dosstx commented Jun 16, 2021

Your mileage will certainly vary, but if you're lucky and have a relatively small app depending on a limited number of components (like I do), you might find that refactoring to a simple Vue / Bootstrap 5 stack (bypassing BootstrapVue altogether) is much easier than expected (upgrading to Vue3 as a bonus while you're at it), and much less work than refactoring to a completely different framework.

I've been using BS5 with Vue2 and NuxtJS for the past few months. I am eagerly awaiting for BSVue, but I am not sure if I really will need it. If you watch the Bootstrap5 Github project/issue list, you'll see that some of the BSVue components are actually being created for Bootstrap5, such as Skeleton and I think there's an Overlay component coming, as well. Form validation state is now easy with Bootstrap5 too.

Two things that I find highly valuable from BSVue are 1.) Tree shaking/documentation 2.) Form Tag component....ok and 3.) excellent support from @Hiws over at the BSVue Discord channel (thankfully not Slack).

For maintainability, I think it may be better to minimize the number of frameworks in your app...and just using Bootstrap5 and Vue may be all that is needed, especially now that JQuery has been dropped from Bootstrap (it's easy to use vanilla JS with it).

Maybe rather than trying to recreate all the current Bootstrap components, BootstrapVue can just give us more components that are not available with BS5 (avatar components, better navbars, dynamic tables, etc). Something like TailwindUI.com.

Just a thought! Love BSVue and I know I will still use it where/when needed. I've made my donation to the project.

@phil-w
Copy link
Contributor

phil-w commented Jun 19, 2021

I think that's the way to go: forget about being a "platform" - Bootstrap stands on it's own without shims now and doesn't need a platform, especially one which has to keep up with it.

Instead, Bootstrap Vue has a set of components, some of which are best-in-class. So either split the project so the components are stand alone, or curate them as a set of components, not a "platform". It's a mindset change, but it's much easier to keep the table component up to date than an entire "framework", much of which most people don't want or need.

@mrholek
Copy link

mrholek commented Sep 22, 2021

If you need Bootstrap 5 and Vue 3 support you can try the latest version of CoreUI for Vue.js - https://github.com/coreui/coreui-vue/tree/v4

@tieudoan208
Copy link

In web https://bootstrap-vue.org/ Not yet support vue3 and bootstrap 5 ?

@nicksterious
Copy link

Just saw this. OUCH.

@dvincitravis
Copy link

Is there any activity around this? I'm starting a new project, and it would be really nice if I could use Bootstrap 5 with Vue 2.

@sdwru
Copy link

sdwru commented Mar 1, 2022

Is there any activity around this? I'm starting a new project, and it would be really nice if I could use Bootstrap 5 with Vue 2.

I think this project is basically a dead end now. I certainly wouldn't recommend it for new projects.

@TDola
Copy link

TDola commented Mar 4, 2022

So is this happening? Need it for our shared style sheets. Our websites are already updating to BS5.

@laoshaw
Copy link

laoshaw commented Mar 4, 2022

you probably can check out: https://github.com/cdmoro/bootstrap-vue-3

or

https://github.com/coreui/coreui-vue

@zcoop98
Copy link

zcoop98 commented Apr 18, 2022

For anyone out of the loop (since this thread hasn't received the updates that the other one has):

  • Bootstrap Vue is not dead (There was a new release today!).
  • Updating to Bootstrap v5 is on the roadmap as the top priority after adding support for Vue v3.

For details on progress, follow updates in the other thread covering the overall status of the project: Project status & roadmap.

The most recent major update in that thread is the release of v2.22.0, with notes about the promising progress of the v3 rewrite. You can read the full update here.

@ankurk91
Copy link

https://github.com/bootstrap-vue/bootstrap-vue-next

@Hiws Hiws unpinned this issue May 10, 2023
@dlucredativ
Copy link

What is the currently recommended course to update a project using bootstrap-vue, Bootstrap 4 (EOL) and Vue2 (EOL) in such a way that no EOL versions are used any more? Even bootstrap-vue-next considers itself "alpha".

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

No branches or pull requests