vuetifyjs / vuetify

🐉 Vue Component Framework
https://vuetifyjs.com
MIT License
39.33k stars 6.93k forks source link

[Documentation] Is it v-tabs-window or v-window ?? #20017

Open arthurwolf opened 2 weeks ago

arthurwolf commented 2 weeks ago

Environment

Browsers: Firefox 126.0 OS: Ubuntu undefined

Steps to reproduce

The documentation says to do:

    <v-tabs-window v-model="tab">
      <v-tabs-window-item

When I did this, nothing worked (and I got warnings about those things not existing).

I searched for so many hours, pulled my hair, gave up, tried again, etc.

Then at some point, I came accross https://github.com/vuetifyjs/vuetify/issues/19193 , which in their bug report seems to not use v-tabs-window but just v-window instead...

And when I tried that, poof, it just worked.

Expected Behavior

docs should provide an example that works.

Actual Behavior

docs provide an example that doesn't work.

Reproduction Link

https://vuetifyjs.com/en/components/tabs/#align-tabs

Other comments

amazing project by the way.

howard2048 commented 1 week ago

Same issue. Wrong example code in official site, unbelievable!!!