mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 05:35:13 +00:00
docs: updated public directory explanation (#18464)
This commit is contained in:
parent
6c5d8d6b2b
commit
76a4f4ecbc
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user