fix: fixed typo

This commit is contained in:
Matt Clegg 2024-11-08 08:20:03 +00:00
parent 9bb36478ff
commit d2540e45d0

View File

@ -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