mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-23 00:33:46 +02:00
Change flash mixin
This commit is contained in:
@@ -9,7 +9,7 @@ import {Ziggy} from './helpers/ziggy';
|
||||
// @ts-ignore
|
||||
import Locales from './../../../resources/lang/locales';
|
||||
|
||||
import {flash} from './mixins/flash';
|
||||
import {FlashMixin} from './mixins/flash';
|
||||
import store from './store/index';
|
||||
import router from './router';
|
||||
|
||||
@@ -30,7 +30,7 @@ Vue.use(VueI18n);
|
||||
const route = require('./../../../vendor/tightenco/ziggy/src/js/route').default;
|
||||
|
||||
Vue.mixin({methods: {route}});
|
||||
Vue.mixin(flash);
|
||||
Vue.mixin(FlashMixin);
|
||||
|
||||
const i18n = new VueI18n({
|
||||
locale: 'en',
|
||||
|
||||
Reference in New Issue
Block a user