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
Vue 3 support #5196
Comments
Interested in this. Just tried just now for the first time to upgrade a current project to Vue 3 and it seems both
|
Since You may need to add an alias for |
Hi Please advise on how to do this |
With or without the alias, I get the console error: config.js?3844:10 Uncaught TypeError: Cannot read property 'prototype' of undefined
at eval (config.js?3844:10)
at Module../node_modules/bootstrap-vue/src/utils/config.js (chunk-vendors.js:3035)
at __webpack_require__ (app.js:849)
at fn (app.js:151)
at eval (alert.js?e21a:1)
at Module../node_modules/bootstrap-vue/src/components/alert/alert.js (chunk-vendors.js:83)
at __webpack_require__ (app.js:849)
at fn (app.js:151)
at eval (index.js?7a38:1)
at Module../node_modules/bootstrap-vue/src/components/alert/index.js (chunk-vendors.js:95) The In the terminal (running Vue is not a constructor function type.
'vue' has no exported member 'PluginObject'
'vue' has no exported member 'PluginFunction'.
'vue' has no exported member 'DirectiveOptions'. Vuejs: 3.0.0-beta.4 Hope this gives some clarity. I love this project. |
Interested in this and willing to help in testing. Not using Webpack or Rollup but the brand new vite. |
Getting this error too. Using https://cli.vuejs.org/guide/webpack.html to add alias for cli project I get:
and still get the error in config.js: |
Note there are quite a few breaking changes between Vue 2.x and Vue 3.x, which will need changes in BootstrapVue.
You might be able to import |
What would be helpful for me is to have an estimate, what the "on the roadmap" means. I can wait, say, one month, but if the Vue 3 (beta) support is not going to be there until autumn, I must look around for other solutions. Sorry that I cannot help, other than testing. |
Same here, definitely needing Vue 3.0 support by August. And it will be superb! :) |
Is anyone currently working on Vue 3 support? I would be willing to try my hand helping with a few MRs but it doesn't appear it's being worked on at all yet |
I think Vue 3.0 support is going to be a must, the release date is not far away. If there are too many breaking changes maybe a new branch for Vue 3.0 only would be the way to go. |
I have a fork that I started working on Vue 3 support and found a few things:
None of the changes include any of Vue 3's composition API with the exception of the change to I have been testing this using the You can find the fork here: https://github.com/lamebear/bootstrap-vue/tree/vue3 If you want to create a new branch for Vue3 on this repository, I can merge this there and we can start plugging away on it. |
@lamebear Are any of your changes portable to current version? Would be best to prepare current version for migration and then have just a small diff for Vue3, rather than a huge one. Just to be clear, we're aiming for bootstrap-vue to be usable with Vue 3, with minimal changes, right? Migration to Vue 3 APIs would be a different, large project. eg
Nope, only Sample code generated by vite & modified:
App.vue
|
I believe the current plan is to release So there would be a |
@tmorehouse would be best to advise how to go forward. |
Sounds good, thanks! I look forward to hearing from @tmorehouse whenever it's convenient. |
Is there any news, now that vue 3 hit the release candidate stage? |
Any news on the |
Hi @pi0 ! As it seems @tmorehouse has been taking time off since end of May, would you have time to oversee development for getting this library Vue 3 ready? |
I would also be interested in helping if I can. I use bootstrap-vue in a large production project so it is important to me to get switched over to Vue 3. |
Me too. If you need any help let me know. Would love to contribute. |
I would also still like to help where I can. I spent some time this weekend looking over the BV lib and the Vue 3 migration guide and what I took away from all of that is that I may need some help 🤣 |
We will come up with a more concrete roadmap in the next few days but currently the plan is: BootstrapVue v2:
BootstrapVue v3:
BootstrapVue v4:
|
The prototype error is same for me. I don’t think there is a way for bootstrap Vue to work with vue3 right now |
Hi could anyone provide an alternative? I'm stuck with this just for table component and data provider for pagination. |
@Rubens10010, you could look into PrimeVue and DataTable in particular. I haven't tried it and would be really interested if it delivers according to its promise. |
@Rubens10010 Element-Plus and Vue-Good-Table-Next are quite good combination. |
Crossposting for visiblity: #6905 (comment) |
Hi there, |
x-post for visibility: #6872 (comment) |
Vue2 is after end of life.. only security fixes are performed.. it would be nice if bootstrap-vue projects would be migratable to vue3 |
I started a new project and planned to use my spare time to upgrade |
No real readme, no working homepage URL? This blind link is interesting, but there's no context here. Not ideal. |
Vue 2 has shipped a final minor release (2.7) in July 2022, which backports a selected subset of new features from Vue 3. Vue 2 has now entered maintenance mode: it will no longer ship new features, but will continue to receive critical bug fixes and security updates until the end of 2023. But the comment just before yours has the context to answer your question: It's being worked on, but there are many slow downs due to real world issues. |
Wasted time, it would be better if you had put that effort in this original project. |
I would never do this. |
Going to assume the answer to the question is probably not going to happen. That's ok, no one is making money from maintaining the BootstrapVue project. Thanks for all your effort to get it this far. We appreciate all you did. |
…h the latest skeleton generation much better: router, store and api got their own directories. The views are now in the correct folder `views` - and I extracted one component to use from the newly introduced `Home.vue` view: the `HelloSpringWorld.vue` component. Jest tests also working with 3.x. Sadly Bootstrap Vue doesn't support Vue 3.x right now bootstrap-vue/bootstrap-vue#5196
With |
…h the latest skeleton generation much better: router, store and api got their own directories. The views are now in the correct folder `views` - and I extracted one component to use from the newly introduced `Home.vue` view: the `HelloSpringWorld.vue` component. Jest tests also working with 3.x. Sadly Bootstrap Vue doesn't support Vue 3.x right now bootstrap-vue/bootstrap-vue#5196
its been almost a year... where is version 3? |
|
Hi
What is the status of bootstrap-vue and Vue 3? I know Vue 3 is just in beta now. But I see no statement or other on your page if/how/when you are going to support Vue 3.
With kind regards, Johan
The text was updated successfully, but these errors were encountered: