Skip to content

Commit

Permalink
docs(server-utils): fix typos (#2790)
Browse files Browse the repository at this point in the history
  • Loading branch information
iiio2 authored Oct 15, 2024
1 parent 4001674 commit 3da1cf8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/1.guide/1.utils.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ icon: ri:tools-line

# Server Utils

> Enjoy auto imported server utils and extend with your own utils.
> Enjoy auto-imported server utils and extend with your own utils.
## Auto imports

Expand All @@ -13,15 +13,15 @@ It is because Nitro uses [unjs/unimport](https://github.com/unjs/unimport) to au

## H3 utils

Nitro enables all [h3 utils](https://h3.unjs.io/utils) as auto imports so you can use `defineEventHandler`, `readBody`, etc without manually importing them.
Nitro enables all [h3 utils](https://h3.unjs.io/utils) as auto imports so you can use `defineEventHandler`, `readBody`, etc. without manually importing them.

::read-more{title="H3 Docs" to="https://h3.unjs.io/utils"}
::


### `utils` directory

You can add your application specific utils inside `utils/` directory and they will be auto imported when used.
You can add your application specific utils inside `utils/` directory and they will be auto-imported when used.
Every export in the `utils` directory and its subdirectories will become available globally in your application.


Expand Down Expand Up @@ -63,7 +63,7 @@ Check [the source code](https://github.com/unjs/nitro/blob/v2/src/core/config/re
::

::read-more{to="/guide/typescript"}
The types are auto generated for global auto-imports when running the `prepare` or `dev` command. See [TypeScript](/guide/typescript) guide, for IDE support.
The types are auto-generated for global auto-imports when running the `prepare` or `dev` command. See [TypeScript](/guide/typescript) guide, for IDE support.
::

## Manual imports
Expand Down

0 comments on commit 3da1cf8

Please sign in to comment.