Problem with vue3-compat-build
See original GitHub issueHi, I have updated my Vue 2 project to Vue 3 and I still want to continue using bootstrap-vue.
So I removed bootstrap-vue from project (via npm uninstall…) and added with:
npm install --save bootstrap-vue/bootstrap-vue#vue3-compat-build --save-prod
So now my package.json has:
"bootstrap-vue": "github:bootstrap-vue/bootstrap-vue#vue3-compat-build",
But at npm run serve I get:
This dependency was not found:
* bootstrap-vue in ./src/setup/bootstrap.setup.js
To install it, you can run: npm install --save bootstrap-vue
It refers to following import in one of my files:
import BootstrapVue from "bootstrap-vue";
Issue Analytics
- State:
- Created a year ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
What could be wrong with the Vue 3 compat build setup?
TLDR: custom events ( $listeners ) won't be automatically binded in the vue 3 compat build. It is as if all the components...
Read more >[vue3] Support for @vue/compat mode · Issue #579 - GitHub
The implementation for Vue 3 support seems (not sure if actually is that way, but it seems so) to be stopped, or at...
Read more >@vue/compat - npm
Overview. @vue/compat (aka "the migration build") is a build of Vue 3 that provides configurable Vue 2 compatible behavior.
Read more >Vue 3 was a mistake that we should not repeat - Medium
In an existing large-scale application built with Vue 2, you would probably use some of the deprecated or changed APIs.
Read more >Vue3 migration: introduce compatibilty with @vue/compat for ...
gitlab-ui as a component library is one of the key dependencies we should make running with Vue3. What does compatibility means for us?...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@derweise are you using @vue/cli (I’m assuming from preset)
In that case you need https://cli.vuejs.org/config/#transpiledependencies
Thanks @xanf , transpileDependencies worked 😃