mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 21:55:11 +00:00
docs(schema): change srcDir example to src/
(#7503)
This commit is contained in:
parent
9ee5ca2b47
commit
f76c0fe450
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user