From ec525fccedd806fc5295ebd269d0204d1dd31e16 Mon Sep 17 00:00:00 2001 From: markthree <1801982702@qq.com> Date: Mon, 24 Apr 2023 17:31:24 +0800 Subject: [PATCH] docs: fix ClientSideLayout --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8a8e20a..108a446 100644 --- a/README.md +++ b/README.md @@ -236,7 +236,7 @@ export default { plugins: [ ClientSideLayout({ layoutsDir: 'src/mylayouts', // default to 'src/layout' - defaultLayout: 'myDefault.vue', // default to 'default.vue' + defaultLayout: 'myDefault', // default to 'default', no need '.vue' importMode: 'sync' // The default will automatically detect -> ssg is sync,other is async }), ],