Skip to content
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

Issue with the BCarouselList component: "Invalid Component Definition: 1" #132

Open
cdwieber opened this issue Mar 3, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@cdwieber
Copy link

cdwieber commented Mar 3, 2023

When attempting to use the BCarouselList component, I'm getting the following console warning, and the carousel is not arranging the slides properly.

[Vue warn]: Invalid Component definition: 1

found in

---> <BCarouselList>
       <Layout> at layout/FullWidth.vue
         <Pages/tickets/index.vue> at pages/tickets/index.vue
           <Nuxt>
             <Layouts/default.vue> at layouts/default.vue
               <Root>

The number of times the warning shows is equal to the number of slides in the carousel.

The code I'm using is as follows:

      <b-carousel-list
        v-model="slideIndex"
        :data="schedule"
        :arrow="false"
        icon-pack="fas"
        :items-to-show="4"
      >
        <template #item="game">
          <div class="card">
            {{formatGameDate(game.gdte)}}
          </div>
        </template>
      </b-carousel-list>

nuxt.config.js looks like this:

  modules: [
    // https://go.nuxtjs.dev/content
    '@nuxt/content',
    '@nuxtjs/gtm',
    ['nuxt-buefy', {
      defaultIconPack: 'fas',
      css: false,
    }]
  ],

Relavant version data:

"nuxt": "^2.15.8",
"buefy": "^0.9.22",
"nuxt-buefy": "^0.4.24",
"vue": "^2.6.14",

Any insight into this is appreciated, I can't seem to find the cause.

@wesdevpro wesdevpro self-assigned this Oct 7, 2023
@wesdevpro wesdevpro added the bug Something isn't working label Oct 7, 2023
@wesdevpro
Copy link
Member

@cdwieber any update on this issue? Can you confirm that this is still an issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants