Skip to content

Commit

Permalink
docs: updated public directory explanation (#18464)
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfavour committed Feb 15, 2023
1 parent 6c5d8d6 commit 76a4f4e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/7.migration/2.configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,13 @@ Nuxt and Nuxt Modules are now build-time-only.
If you are a module author, you can check out [more information about module compatibility](/docs/migration/module-authors) and [our module author guide](/docs/guide/going-further/modules).
::

## Directory Changes

The `static/` directory (for storing static assets) has been renamed to `public/`. You can either rename your `static` directory to `public`, or keep the name by setting `dir.public` in your `nuxt.config`.

::ReadMore{link="/docs/guide/directory-structure/public"}
::

## TypeScript

It will be much easier to migrate your application if you use Nuxt's TypeScript integration. This does not mean you need to write your application in TypeScript, just that Nuxt will provide automatic type hints for your editor.
Expand Down

0 comments on commit 76a4f4e

Please sign in to comment.