docs: minor nuxt module doc change (#2962)

This commit is contained in:
Vinil Vasani 2022-01-28 03:29:48 +05:30 committed by GitHub
parent 7db7fddc80
commit 558be39875
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ Starting with Nuxt 3, modules can benefit all [Nuxt Kit](/docs/advanced/kit) uti
// modules/module.mjs
export default async (inlineOptions, nuxt) => {
// You can do whatever you like here..
console.log(moduleOptions.token) // `123`
console.log(inlineOptions.token) // `123`
console.log(nuxt.options.dev) // `true` or `false`
nuxt.hook('ready', async nuxt => {
console.log('Nuxt is ready')