Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Commit

Permalink
export isVue* from #app
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Nov 15, 2021
1 parent e58a98a commit 9e35588
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/bridge/src/runtime/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ import type { Vue } from 'vue/types/vue'
import type { ComponentOptions } from 'vue'
import { defineComponent, getCurrentInstance } from './composables'

export const isVue2 = true
export const isVue3 = false

export const defineNuxtComponent = defineComponent

export interface RuntimeNuxtHooks { }
Expand Down
3 changes: 3 additions & 0 deletions packages/nuxt3/src/app/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
export * from './nuxt'
export * from './composables'

export const isVue2 = false
export const isVue3 = true

0 comments on commit 9e35588

Please sign in to comment.