mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-24 22:55:13 +00:00
3ec108493d
* docs: simplify docs to only markdown * Create nuxt-config.md * chore: update * chore: add readme
17 lines
788 B
Markdown
17 lines
788 B
Markdown
---
|
|
navigation.icon: IconDirectory
|
|
title: 'utils'
|
|
head.title: 'utils/'
|
|
description: Use the utils/ directory to auto-import your utility functions throughout your application.
|
|
---
|
|
|
|
# Utils Directory
|
|
|
|
Nuxt 3 uses the `utils/` directory to automatically import helper functions and other utilities throughout your application using [auto-imports](/docs/guide/concepts/auto-imports)!
|
|
|
|
::alert{type=info}
|
|
The main purpose of the `utils/` directory is to allow a semantic distinction between your Vue composables and other auto-imported utility functions.
|
|
|
|
The way `utils/` auto-imports work and are scanned is identical to [the composables/ directory](/docs/guide/directory-structure/composables). You can see examples and more information about how they work in that section of the docs.
|
|
::
|