feat: remove vue3 compat mode
This commit is contained in:
@ -1,9 +1,4 @@
|
||||
import {createApp, configureCompat} from 'vue'
|
||||
|
||||
// default everything to Vue 3 behavior
|
||||
configureCompat({
|
||||
MODE: 3,
|
||||
})
|
||||
import {createApp} from 'vue'
|
||||
|
||||
import App from './App.vue'
|
||||
import router from './router'
|
||||
|
10
src/types/shims-vue.d.ts
vendored
10
src/types/shims-vue.d.ts
vendored
@ -1,13 +1,3 @@
|
||||
declare module 'vue' {
|
||||
import { CompatVue } from 'vue'
|
||||
const Vue: CompatVue
|
||||
export default Vue
|
||||
export * from 'vue'
|
||||
|
||||
const { configureCompat } = Vue
|
||||
export { configureCompat }
|
||||
}
|
||||
|
||||
// https://next.vuex.vuejs.org/guide/migrating-to-4-0-from-3-x.html#typescript-support
|
||||
import { ComponentCustomProperties } from 'vue'
|
||||
import { Store } from 'vuex'
|
||||
|
@ -467,7 +467,6 @@ function scrollIntoView(el) {
|
||||
|
||||
export default defineComponent({
|
||||
name: 'TaskDetailView',
|
||||
compatConfig: { ATTR_FALSE_VALUE: false },
|
||||
components: {
|
||||
BaseButton,
|
||||
CreatedUpdated,
|
||||
|
Reference in New Issue
Block a user