Skip to content
This repository was archived by the owner on Apr 6, 2023. It is now read-only.

Commit ee20a00

Browse files
committed
chore: fix typo in deprecation messages
1 parent 386407e commit ee20a00

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/nuxt/src/core/nuxt.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -142,11 +142,11 @@ async function initNuxt (nuxt: Nuxt) {
142142
},
143143
'autoImports:dirs': {
144144
to: 'imports:dirs',
145-
message: '`autoImports:sources` hook is deprecated. Use `addImports()` from `@nuxt/kit` or `imports:sources` with `nuxt>=3.0.0-rc.9`.'
145+
message: '`autoImports:dirs` hook is deprecated. Use `addImportsDir()` from `@nuxt/kit` or `imports:dirs` with `nuxt>=3.0.0-rc.9`.'
146146
},
147147
'autoImports:extend': {
148148
to: 'imports:extend',
149-
message: '`autoImports:extend` hook is deprecated. Use `addImports()` from `@nuxt/kit` or `imports:sources` with `nuxt>=3.0.0-rc.9`.'
149+
message: '`autoImports:extend` hook is deprecated. Use `addImports()` from `@nuxt/kit` or `imports:extend` with `nuxt>=3.0.0-rc.9`.'
150150
}
151151
})
152152

0 commit comments

Comments
 (0)