BootstrapVue.d.ts problem
See original GitHub issueThere is a problem with using exported functions (eg useToast()
) because BootstrapVue.d.ts has no content.
It would be nice if there is a well-generated d.ts, or something like the following:
export * from './BootstrapVue';
import { BootstrapVue3 } from './BootstrapVue';
export default BootstrapVue3;
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:5 (1 by maintainers)
Top Results From Across the Web
BootstrapVue on typescript · Issue #3453 · bootstrap-vue ...
Describe the solution you'd like With the move in Vue to rewrite it all on typescript could the same be done for bootstrap-vue....
Read more >typescript - Unable to install bootstrap-vue - Stack Overflow
If you are using Vue.js version 3 and want to use the latest Bootstrap version on a new app, you might want to...
Read more >Getting Started - BootstrapVue
Get started with BootstrapVue, based on the world's most popular framework - Bootstrap v4, for building responsive, mobile-first sites using Vue.js.
Read more >Introduction | BootstrapVue 3 - cdmoro
Install the necessary packages for bootstrap-vue-3 : ... If using TypeScript you will want to add components.d.ts to the include array in ...
Read more >How To Use Bootstrap 4 in Vue.js with BootstrapVue
Developer and author at DigitalOcean. Still looking for an answer? Ask a questionSearch for more help. Was ...
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 Free
Top 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
Perfect!
@extrem7, A workaround can be to replace the above mentioned contents in the
node_modules/bootstrap-vue-3/src/BootstrapVue.d.ts
file.For me, checking the contents of bv3 every time in
tsc --noEmit
is a bit annoying.