Change flash mixin

This commit is contained in:
Dane Everitt 2018-12-29 19:24:09 -08:00
parent 96468ab4b3
commit f7ba30fbbe
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
4 changed files with 59 additions and 64 deletions

View file

@ -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',