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
* ```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