File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ import { dataSymbol, initData } from './data'
1616import { Content } from './components/Content'
1717import { ClientOnly } from './components/ClientOnly'
1818
19- export const NotFound = Theme . NotFound || ( ( ) => '404 Not Found' )
19+ const NotFound = Theme . NotFound || ( ( ) => '404 Not Found' )
2020
2121const VitePressApp = {
2222 name : 'VitePressApp' ,
Original file line number Diff line number Diff line change 22import { useRoute , useData } from ' vitepress'
33import { useCopyCode } from ' ../composables/copy-code'
44import { useSidebar } from ' ../composables/sidebar'
5- import { NotFound } from ' ../../app '
5+ import Theme from ' /@theme/index '
66import VPPage from ' ./VPPage.vue'
77import VPHome from ' ./VPHome.vue'
88import VPDoc from ' ./VPDoc.vue'
@@ -11,6 +11,8 @@ const route = useRoute()
1111const { frontmatter } = useData ()
1212const { hasSidebar } = useSidebar ()
1313
14+ const NotFound = Theme .NotFound || (() => ' 404 Not Found' )
15+
1416useCopyCode ()
1517 </script >
1618
You can’t perform that action at this time.
0 commit comments