mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-25 23:22:02 +00:00
chore: fix typo in deprecation messages
This commit is contained in:
parent
386407ec84
commit
ee20a00f65
@ -142,11 +142,11 @@ async function initNuxt (nuxt: Nuxt) {
|
|||||||
},
|
},
|
||||||
'autoImports:dirs': {
|
'autoImports:dirs': {
|
||||||
to: 'imports:dirs',
|
to: 'imports:dirs',
|
||||||
message: '`autoImports:sources` hook is deprecated. Use `addImports()` from `@nuxt/kit` or `imports:sources` with `nuxt>=3.0.0-rc.9`.'
|
message: '`autoImports:dirs` hook is deprecated. Use `addImportsDir()` from `@nuxt/kit` or `imports:dirs` with `nuxt>=3.0.0-rc.9`.'
|
||||||
},
|
},
|
||||||
'autoImports:extend': {
|
'autoImports:extend': {
|
||||||
to: 'imports:extend',
|
to: 'imports:extend',
|
||||||
message: '`autoImports:extend` hook is deprecated. Use `addImports()` from `@nuxt/kit` or `imports:sources` with `nuxt>=3.0.0-rc.9`.'
|
message: '`autoImports:extend` hook is deprecated. Use `addImports()` from `@nuxt/kit` or `imports:extend` with `nuxt>=3.0.0-rc.9`.'
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user