question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

BootstrapVue.d.ts problem

See original GitHub issue

There 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:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
extrem7commented, Apr 8, 2022

image image

Perfect!

1reaction
letrheecommented, Apr 6, 2022

@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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found