mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Move isNuxt to helper
This commit is contained in:
parent
927791eb73
commit
9a3d255764
2 changed files with 9 additions and 5 deletions
6
helpers/environment.js
Normal file
6
helpers/environment.js
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
import has from 'just-has'
|
||||
|
||||
|
||||
export function isNuxt( VueThis ) {
|
||||
return has( VueThis, [ '$nuxt' ])
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue