Skip to content

Commit a43bd90

Browse files
committed
add config option for locally linked theme
1 parent 6e8c290 commit a43bd90

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/.vitepress/config.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,11 @@ export default defineConfig({
490490
external: ['@vue/repl']
491491
},
492492
server: {
493-
host: true
493+
host: true,
494+
fs: {
495+
// for when developing with locally linked theme
496+
allow: ['../..']
497+
}
494498
},
495499
build: {
496500
minify: 'terser',

0 commit comments

Comments
 (0)