diff --git a/README.md b/README.md index db3ab92e..b29c5fa9 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,6 @@ +> [!CAUTION] +> 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/). +

Anu diff --git a/docs/.vitepress/theme/index.ts b/docs/.vitepress/theme/index.ts index a4655434..8bf4e08e 100644 --- a/docs/.vitepress/theme/index.ts +++ b/docs/.vitepress/theme/index.ts @@ -2,6 +2,7 @@ import '@anu-vue/preset-theme-default/dist/style.css' import { anu } from 'anu-vue' import DefaultTheme from 'vitepress/theme' import type { App } from 'vue' +import { h } from 'vue' import 'uno.css' @@ -14,7 +15,12 @@ import { extractFileNameFromPath } from '../../utils' import './style.css' export default { - ...DefaultTheme, + extends: DefaultTheme, + Layout() { + return h(DefaultTheme.Layout, null, { + 'nav-bar-title-after': () => h('small', { class: 'bg-danger bg-opacity-35 rounded-xl text-danger', style: { padding: '0 0.4rem', marginStart: '0.85rem' } }, 'UNMAINTAINED'), + }) + }, enhanceApp({ app }: { app: App }) { app.use(anu)