Move isNuxt to helper

This commit is contained in:
Sam Carlton 2022-05-02 22:13:33 -05:00
parent 927791eb73
commit 9a3d255764
2 changed files with 9 additions and 5 deletions

6
helpers/environment.js Normal file
View file

@ -0,0 +1,6 @@
import has from 'just-has'
export function isNuxt( VueThis ) {
return has( VueThis, [ '$nuxt' ])
}