From 16a41c8c9b74d332557c709c36b23d1d7e1487ae Mon Sep 17 00:00:00 2001 From: Mahdi Boomeri Date: Wed, 14 Sep 2022 17:53:39 +0430 Subject: [PATCH] docs: change srcDir example --- packages/schema/src/config/_common.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/schema/src/config/_common.ts b/packages/schema/src/config/_common.ts index 77e8b706454..098e1ceee75 100644 --- a/packages/schema/src/config/_common.ts +++ b/packages/schema/src/config/_common.ts @@ -73,7 +73,7 @@ export default defineUntypedSchema({ * @example * ```js * export default { - * srcDir: 'client/' + * srcDir: 'src/' * } * ``` * This would work with the following folder structure: @@ -82,7 +82,7 @@ export default defineUntypedSchema({ * ---| node_modules/ * ---| nuxt.config.js * ---| package.json - * ---| client/ + * ---| src/ * ------| assets/ * ------| components/ * ------| layouts/ @@ -91,6 +91,7 @@ export default defineUntypedSchema({ * ------| plugins/ * ------| static/ * ------| store/ + * ------| server/ * ``` * @version 2 * @version 3