File tree 7 files changed +19
-102
lines changed
7 files changed +19
-102
lines changed Original file line number Diff line number Diff line change 1
- import { fileURLToPath , URL } from ' node:url'
1
+ import { fileURLToPath , URL } from " node:url" ;
2
2
import { defineConfig } from "vitepress" ;
3
3
4
4
const url = `https://docs-staging.pupil-labs.com/` ;
@@ -26,11 +26,20 @@ const config_additions = {
26
26
{
27
27
find : / ^ .* \/ V P N a v B a r \. v u e $ / ,
28
28
replacement : fileURLToPath (
29
- new URL ( './../../components/CustomNavBar.vue' , import . meta. url )
30
- )
31
- }
32
- ]
33
- }
29
+ new URL (
30
+ "./../../components/header/CustomNavBar.vue" ,
31
+ import . meta. url
32
+ )
33
+ ) ,
34
+ } ,
35
+ {
36
+ find : "@components" ,
37
+ replacement : fileURLToPath (
38
+ new URL ( "./../../components" , import . meta. url )
39
+ ) ,
40
+ } ,
41
+ ] ,
42
+ } ,
34
43
} ,
35
44
} ;
36
45
Original file line number Diff line number Diff line change 1
1
<script setup lang="ts">
2
- import ArrowIcon from " @theme/ components/ArrowIcon.vue" ;
3
- import Footer from " @theme/ components/Footer.vue" ;
2
+ import ArrowIcon from " @components/ArrowIcon.vue" ;
3
+ import Footer from " @components/Footer.vue" ;
4
4
5
5
import { useData } from " vitepress" ;
6
6
const { frontmatter } = useData ();
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 18
18
"allowJs" : true ,
19
19
"paths" : {
20
20
"@/*" : [" ../*" ],
21
+ "@components/*" : [" ../components/*" ],
21
22
"@theme/*" : [" ./.vitepress/theme/*" ]
22
23
}
23
24
},
24
25
"include" : [
26
+ " ../components/*.vue" ,
25
27
" ./.vitepress/**/*.vue" ,
26
28
" ./.vitepress/**/*.ts" ,
27
29
" ./.vitepress/**/*.mts" ,
You can’t perform that action at this time.
0 commit comments