Skip to content

Can not import BSkeletonImg #5804

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

Closed
kingschnulli opened this issue Sep 18, 2020 · 0 comments · Fixed by #5806
Closed

Can not import BSkeletonImg #5804

kingschnulli opened this issue Sep 18, 2020 · 0 comments · Fixed by #5806

Comments

@kingschnulli
Copy link

Describe the bug

It seems like the definition for BSkeletonImg (and the other BSkeleton helpers) is not exported

Steps to reproduce the bug

In a SFC

import { BSkeletonImg } from 'bootstrap-vue'

export default {
  name: 'MyComponent',
  components: {
    'b-skeleton-img': BSkeletonImg
  }
  ...
}

Compiler will complain with

"export 'BSkeletonImg' was not found in 'bootstrap-vue'

and the component will not be rendered

Expected behavior

It should be possible to import the helpers.

Versions

Libraries:

  • BootstrapVue: 2.17.1
  • Bootstrap: 4.5.2
  • Vue: 2.6.12

Environment:

All environments

Demo link

Must be done in a webpack environment, can not provide demo link

Additional context

Add the missing exports here:

https://github.com/bootstrap-vue/bootstrap-vue/blob/dev/src/index.js#L288

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

Successfully merging a pull request may close this issue.

2 participants