mirror of https://github.com/vuejs/core.git
feat(vapor): add vapor flag for createVaporApp
This commit is contained in:
parent
1ef6e6edb7
commit
38348081b3
|
@ -35,6 +35,7 @@ import { ErrorCodes, callWithAsyncErrorHandling } from './errorHandling'
|
|||
import type { DefineComponent } from './apiDefineComponent'
|
||||
|
||||
export interface App<HostElement = any> {
|
||||
vapor?: boolean
|
||||
version: string
|
||||
config: AppConfig
|
||||
|
||||
|
|
|
@ -100,6 +100,7 @@ function postPrepareApp(app: App) {
|
|||
)
|
||||
}
|
||||
|
||||
app.vapor = true
|
||||
const mount = app.mount
|
||||
app.mount = (container, ...args: any[]) => {
|
||||
container = normalizeContainer(container) as ParentNode
|
||||
|
|
Loading…
Reference in New Issue