mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-26 15:42:09 +00:00
docs: minor nuxt module doc change (#2962)
This commit is contained in:
parent
7db7fddc80
commit
558be39875
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user