mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-18 17:35:57 +00:00
docs(kit): comment typo (#654)
This commit is contained in:
parent
3fa75ba8a6
commit
30fbe5dfa3
@ -305,7 +305,7 @@ export function isNuxt2 (nuxt: Nuxt = useNuxt()) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Check if current nuxt instance is version 2 legacy
|
* Check if current nuxt instance is version 3
|
||||||
*/
|
*/
|
||||||
export function isNuxt3 (nuxt: Nuxt = useNuxt()) {
|
export function isNuxt3 (nuxt: Nuxt = useNuxt()) {
|
||||||
return getNuxtVersion(nuxt).startsWith('3.')
|
return getNuxtVersion(nuxt).startsWith('3.')
|
||||||
|
Loading…
Reference in New Issue
Block a user