Skip to content
This repository was archived by the owner on Oct 3, 2020. It is now read-only.

Commit 2a54790

Browse files
committed
add deprecated banner
1 parent 5145761 commit 2a54790

File tree

1 file changed

+32
-17
lines changed

1 file changed

+32
-17
lines changed

README.md

+32-17
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
<p align="center">
2+
<h1 align="center">⚠️ Deprecated: use <a href="https://github.com/tailwindlabs/headlessui/">Headless UI</a> instead ⚠️</h1>
3+
</p>
4+
5+
---
6+
17
# @tailwindui/vue
28

39
**This project is still in a pre-alpha state and could change dramatically at any time. Not for production.**
@@ -38,17 +44,26 @@ Basic example:
3844
:value="wrestler"
3945
v-slot="{ isActive, isSelected }"
4046
>
41-
<div class="p-3" :class="isActive ? 'bg-blue-600 text-white' : 'bg-white text-gray-900'">
47+
<div
48+
class="p-3"
49+
:class="isActive ? 'bg-blue-600 text-white' : 'bg-white text-gray-900'"
50+
>
4251
{{ wrestler }}
43-
<img v-show="isSelected" src="/checkmark.svg">
52+
<img v-show="isSelected" src="/checkmark.svg" />
4453
</div>
4554
</ListboxOption>
4655
</ListboxList>
4756
</Listbox>
4857
</template>
4958

5059
<script>
51-
import { Listbox, ListboxLabel, ListboxButton, ListboxList, ListboxOption } from '@tailwindui/vue'
60+
import {
61+
Listbox,
62+
ListboxLabel,
63+
ListboxButton,
64+
ListboxList,
65+
ListboxOption,
66+
} from "@tailwindui/vue";
5267
5368
export default {
5469
components: {
@@ -60,20 +75,20 @@ Basic example:
6075
},
6176
data() {
6277
return {
63-
selectedWrestler: 'The Ultimate Warrior',
78+
selectedWrestler: "The Ultimate Warrior",
6479
wrestlers: [
65-
'The Ultimate Warrior',
66-
'Randy Savage',
67-
'Hulk Hogan',
68-
'Bret Hart',
69-
'The Undertaker',
70-
'Mr. Perfect',
71-
'Ted DiBiase',
72-
'Bam Bam Bigelow',
73-
'Yokozuna',
74-
]
75-
}
76-
}
77-
}
80+
"The Ultimate Warrior",
81+
"Randy Savage",
82+
"Hulk Hogan",
83+
"Bret Hart",
84+
"The Undertaker",
85+
"Mr. Perfect",
86+
"Ted DiBiase",
87+
"Bam Bam Bigelow",
88+
"Yokozuna",
89+
],
90+
};
91+
},
92+
};
7893
</script>
7994
```

0 commit comments

Comments
 (0)