mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-26 15:42:09 +00:00
fix: fixed typo
This commit is contained in:
parent
9bb36478ff
commit
d2540e45d0
@ -1,8 +1,8 @@
|
|||||||
---
|
---
|
||||||
title: 'shared'
|
title: 'shared'
|
||||||
head.title: 'shared/'
|
head.title: 'shared/'
|
||||||
description: Use the shared/ directory to share functionality between the Vue app and the Nitro server.
|
description: 'Use the shared/ directory to share functionality between the Vue app and the Nitro server.'
|
||||||
navigation.icon: i-ph-folder
|
navigation.icon: 'i-ph-folder'
|
||||||
---
|
---
|
||||||
|
|
||||||
The `shared/` directory allows you to share code that can be used in both the Vue app and the Nitro server.
|
The `shared/` directory allows you to share code that can be used in both the Vue app and the Nitro server.
|
||||||
@ -64,7 +64,7 @@ Only files in the `shared/utils/` and `shared/types/` directories will be auto-i
|
|||||||
```bash [Directory Structure]
|
```bash [Directory Structure]
|
||||||
-| shared/
|
-| shared/
|
||||||
---| capitalize.ts # Not auto-imported
|
---| capitalize.ts # Not auto-imported
|
||||||
---| fotmatters
|
---| formatters
|
||||||
-----| lower.ts # Not auto-imported
|
-----| lower.ts # Not auto-imported
|
||||||
---| utils/
|
---| utils/
|
||||||
-----| lower.ts # Auto-imported
|
-----| lower.ts # Auto-imported
|
||||||
|
Loading…
Reference in New Issue
Block a user