Skip to content

Instantly share code, notes, and snippets.

@thecrypticace
Last active June 4, 2021 13:06
Show Gist options
  • Save thecrypticace/c96f791510c45bb289db5b6d22b04f96 to your computer and use it in GitHub Desktop.
Save thecrypticace/c96f791510c45bb289db5b6d22b04f96 to your computer and use it in GitHub Desktop.
import { createApp, configureCompat } from "vue"
configureCompat({ MODE: 3 })
const app = createApp({
setup() {
return {
// stuff
}
}
})
declare module "vue" {
import { CompatVue } from "@vue/runtime-core"
export const configureCompat: CompatVue["configureCompat"]
// TODO: How do I make this not necessary
export * from "@vue/runtime-dom"
export { }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment