Skip to content

Commit a2f81f4

Browse files
committed
chore: mention that library is now not maintained
1 parent 345990c commit a2f81f4

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
> [!CAUTION]
2+
> This library isn't maintained anymore. We recommend checking out other libraries like [shadcn-vue](https://www.shadcn-vue.com/) or [Nuxt UI](https://ui.nuxt.com/).
3+
14
<h1 align="center">
25
<a href="https://anu-vue.netlify.app/" target="_blank" align="center">
36
Anu

docs/.vitepress/theme/index.ts

+7-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import '@anu-vue/preset-theme-default/dist/style.css'
22
import { anu } from 'anu-vue'
33
import DefaultTheme from 'vitepress/theme'
44
import type { App } from 'vue'
5+
import { h } from 'vue'
56

67
import 'uno.css'
78

@@ -14,7 +15,12 @@ import { extractFileNameFromPath } from '../../utils'
1415
import './style.css'
1516

1617
export default {
17-
...DefaultTheme,
18+
extends: DefaultTheme,
19+
Layout() {
20+
return h(DefaultTheme.Layout, null, {
21+
'nav-bar-title-after': () => h('small', { class: 'bg-danger bg-opacity-35 rounded-xl text-danger', style: { padding: '0 0.4rem', marginInlineStart: '0.85rem' } }, 'UNMAINTAINED'),
22+
})
23+
},
1824
enhanceApp({ app }: { app: App }) {
1925
app.use(anu)
2026

0 commit comments

Comments
 (0)