docs(schema): change srcDir example to src/ (#7503)

This commit is contained in:
Mahdi Boomeri 2022-09-14 19:55:07 +04:30 committed by GitHub
parent 9ee5ca2b47
commit f76c0fe450
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -73,7 +73,7 @@ export default defineUntypedSchema({
* @example * @example
* ```js * ```js
* export default { * export default {
* srcDir: 'client/' * srcDir: 'src/'
* } * }
* ``` * ```
* This would work with the following folder structure: * This would work with the following folder structure:
@ -82,7 +82,7 @@ export default defineUntypedSchema({
* ---| node_modules/ * ---| node_modules/
* ---| nuxt.config.js * ---| nuxt.config.js
* ---| package.json * ---| package.json
* ---| client/ * ---| src/
* ------| assets/ * ------| assets/
* ------| components/ * ------| components/
* ------| layouts/ * ------| layouts/
@ -91,6 +91,7 @@ export default defineUntypedSchema({
* ------| plugins/ * ------| plugins/
* ------| static/ * ------| static/
* ------| store/ * ------| store/
* ------| server/
* ``` * ```
* @version 2 * @version 2
* @version 3 * @version 3