Skip to content

Commit

Permalink
chore: mention that library is now not maintained
Browse files Browse the repository at this point in the history
  • Loading branch information
jd-solanki committed Jun 1, 2024
1 parent 345990c commit a2f81f4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -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/).
<h1 align="center">
<a href="https://anu-vue.netlify.app/" target="_blank" align="center">
Anu
Expand Down
8 changes: 7 additions & 1 deletion docs/.vitepress/theme/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand All @@ -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', marginInlineStart: '0.85rem' } }, 'UNMAINTAINED'),
})
},
enhanceApp({ app }: { app: App }) {
app.use(anu)

Expand Down

0 comments on commit a2f81f4

Please sign in to comment.