Skip to content

Commit b24160c

Browse files
committed
🧹 chore: remove unused component
1 parent db955a6 commit b24160c

File tree

2 files changed

+17
-17
lines changed

2 files changed

+17
-17
lines changed

docs/.vitepress/config.ts

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import {
1313
GitChangelogMarkdownSection
1414
} from '@nolebase/vitepress-plugin-git-changelog/vite'
1515
import { InlineLinkPreviewElementTransform } from '@nolebase/vitepress-plugin-inline-link-preview/markdown-it'
16-
import { ThumbnailHashImages } from '@nolebase/vitepress-plugin-thumbnail-hash/vite'
16+
// import { ThumbnailHashImages } from '@nolebase/vitepress-plugin-thumbnail-hash/vite'
1717

1818
const description =
1919
'Ergonomic Framework for Humans. TypeScript framework supercharged by Bun with End - to - End Type Safety, unified type system and outstanding developer experience'
@@ -43,13 +43,13 @@ export default defineConfig({
4343
})
4444
}
4545
},
46-
vue: {
47-
template: {
48-
transformAssetUrls: {
49-
NolebaseUnlazyImg: ['src']
50-
}
51-
}
52-
},
46+
// vue: {
47+
// template: {
48+
// transformAssetUrls: {
49+
// NolebaseUnlazyImg: ['src']
50+
// }
51+
// }
52+
// },
5353

5454
// ![INFO] uncomment for support hot reload on WSL - https://github.com/vitejs/vite/issues/1153#issuecomment-785467271
5555
vite: {
@@ -95,7 +95,7 @@ export default defineConfig({
9595
]
9696
}),
9797
GitChangelogMarkdownSection(),
98-
ThumbnailHashImages()
98+
// ThumbnailHashImages()
9999
],
100100
optimizeDeps: {
101101
exclude: ['@nolebase/vitepress-plugin-inline-link-preview/client']
@@ -412,11 +412,11 @@ export default defineConfig({
412412
},
413413
{
414414
text: 'Better Auth',
415-
link: '/recipe/better-auth'
415+
link: '/integrations/better-auth'
416416
},
417417
{
418418
text: 'Drizzle',
419-
link: '/recipe/drizzle'
419+
link: '/integrations/drizzle'
420420
},
421421
{
422422
text: 'Expo',
@@ -428,15 +428,15 @@ export default defineConfig({
428428
},
429429
{
430430
text: 'OpenAPI',
431-
link: '/recipe/openapi'
431+
link: '/integrations/openapi'
432432
},
433433
{
434434
text: 'Opentelemetry',
435-
link: '/recipe/opentelemetry'
435+
link: '/integrations/opentelemetry'
436436
},
437437
{
438438
text: 'React Email',
439-
link: '/recipe/react-email'
439+
link: '/integrations/react-email'
440440
},
441441
{
442442
text: 'SvelteKit',

docs/.vitepress/theme/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ import '@nolebase/vitepress-plugin-git-changelog/client/style.css'
1515
import { NolebaseInlineLinkPreviewPlugin } from '@nolebase/vitepress-plugin-inline-link-preview/client'
1616
import '@nolebase/vitepress-plugin-inline-link-preview/client/style.css'
1717

18-
import { NolebaseUnlazyImg } from '@nolebase/vitepress-plugin-thumbnail-hash/client'
19-
import '@nolebase/vitepress-plugin-thumbnail-hash/client/style.css'
18+
// import { NolebaseUnlazyImg } from '@nolebase/vitepress-plugin-thumbnail-hash/client'
19+
// import '@nolebase/vitepress-plugin-thumbnail-hash/client/style.css'
2020

2121
import giscusTalk from 'vitepress-plugin-comment-with-giscus'
2222

@@ -30,7 +30,7 @@ export default {
3030
app.use(TwoslashFloatingVue)
3131
app.use(NolebaseGitChangelogPlugin)
3232
app.use(NolebaseInlineLinkPreviewPlugin)
33-
app.component('NolebaseUnlazyImg', NolebaseUnlazyImg)
33+
// app.component('NolebaseUnlazyImg', NolebaseUnlazyImg)
3434
},
3535
setup() {
3636
// Get frontmatter and route

0 commit comments

Comments
 (0)