Skip to content

Commit afad93c

Browse files
committed
🧹 chore: clean up stuff
1 parent a951c32 commit afad93c

23 files changed

+5
-1351
lines changed

docs/.vitepress/config.ts

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,6 @@ export default defineConfig({
3636
md.use(lightbox, {})
3737
}
3838
},
39-
// vue: {
40-
// template: {
41-
// transformAssetUrls: {
42-
// NolebaseUnlazyImg: ['src']
43-
// }
44-
// }
45-
// },
46-
47-
// ![INFO] uncomment for support hot reload on WSL - https://github.com/vitejs/vite/issues/1153#issuecomment-785467271
4839
vite: {
4940
server: {
5041
watch: {
@@ -55,7 +46,7 @@ export default defineConfig({
5546
enableNativePlugin: true
5647
},
5748
plugins: [
58-
tailwindcss() as any,
49+
tailwindcss(),
5950
process.env.NODE_ENV === 'production'
6051
? llmstxt({
6152
description: 'Ergonomic Framework for Humans',
@@ -69,16 +60,15 @@ export default defineConfig({
6960
],
7061
domain: 'https://elysiajs.com'
7162
})
72-
: [],
73-
process.env.ANALYZE === 'true' ? analyzer() : []
63+
: undefined,
64+
process.env.ANALYZE === 'true' ? analyzer() : undefined
7465
],
7566
optimizeDeps: {
7667
exclude: ['@nolebase/vitepress-plugin-inline-link-preview/client']
7768
},
7869
ssr: {
7970
noExternal: [
8071
'@nolebase/vitepress-plugin-inline-link-preview',
81-
'@unlazy/vue',
8272
'@nolebase/ui'
8373
]
8474
}

docs/.vitepress/theme/index.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import {
88

99
import DefaultTheme from 'vitepress/theme-without-fonts'
1010

11-
// @ts-ignore
1211
import Layout from './layout.vue'
1312

1413
import TwoslashFloatingVue from '@shikijs/vitepress-twoslash/client'
@@ -23,8 +22,6 @@ export default {
2322
Layout,
2423
enhanceApp({ app }: EnhanceAppContext) {
2524
app.use(TwoslashFloatingVue)
26-
// app.use(NolebaseInlineLinkPreviewPlugin)
27-
// app.use(NolebaseGitChangelogPlugin)
2825
},
2926
setup() {
3027
// Get frontmatter and route

docs/.vitepress/theme/layout.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import DefaultTheme from 'vitepress/theme-without-fonts'
55
66
import mediumZoom from 'medium-zoom'
77
8-
import useDark from '../../components/midori/use-dark'
8+
import useDark from './use-dark'
99
import Ray from '../../components/fern/ray.vue'
1010
1111
import { motion, cubicBezier, AnimatePresence } from 'motion-v'

docs/components/blog/Landing.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
</template>
4444

4545
<script lang="ts" setup>
46-
import Ray from '../midori/ray.vue'
46+
import Ray from '../fern/ray.vue'
4747
4848
const props = defineProps<{
4949
blogs: {

docs/components/midori/built-with-love.vue

Lines changed: 0 additions & 42 deletions
This file was deleted.

docs/components/midori/community.vue

Lines changed: 0 additions & 36 deletions
This file was deleted.

docs/components/midori/e2e-type-safety.vue

Lines changed: 0 additions & 45 deletions
This file was deleted.

docs/components/midori/fast.vue

Lines changed: 0 additions & 114 deletions
This file was deleted.

0 commit comments

Comments
 (0)