chore: remove global mixing
This commit is contained in:
parent
b0ee316a26
commit
4a247b2a7d
13 changed files with 30 additions and 25 deletions
13
src/main.ts
13
src/main.ts
|
|
@ -67,19 +67,6 @@ app.component('x-button', Button)
|
|||
app.component('modal', Modal)
|
||||
app.component('card', Card)
|
||||
|
||||
// Mixins
|
||||
import {getNamespaceTitle} from './helpers/getNamespaceTitle'
|
||||
import {getListTitle} from './helpers/getListTitle'
|
||||
import {setTitle} from './helpers/setTitle'
|
||||
|
||||
app.mixin({
|
||||
methods: {
|
||||
getNamespaceTitle,
|
||||
getListTitle,
|
||||
setTitle,
|
||||
},
|
||||
})
|
||||
|
||||
app.config.errorHandler = (err, vm, info) => {
|
||||
if (import.meta.env.DEV) {
|
||||
console.error(err, vm, info)
|
||||
|
|
|
|||
Reference in a new issue