From 9431a62e4e78df4b18ae09b9a08b4e9c08f474ec Mon Sep 17 00:00:00 2001 From: Duncan McClean Date: Tue, 6 Oct 2020 23:54:20 +0100 Subject: [PATCH] Add Listing component as Vue mixin --- resources/js/bootstrap/mixins.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/resources/js/bootstrap/mixins.js b/resources/js/bootstrap/mixins.js index 0b6d55673a..ea0606a5f7 100644 --- a/resources/js/bootstrap/mixins.js +++ b/resources/js/bootstrap/mixins.js @@ -2,12 +2,13 @@ import Vue from 'vue' import Fieldtype from '../components/fieldtypes/Fieldtype.vue' import IndexFieldtype from '../components/fieldtypes/IndexFieldtype.vue' -import BardToolbarButton from '../components/fieldtypes/bard/ToolbarButton.vue'; +import BardToolbarButton from '../components/fieldtypes/bard/ToolbarButton.vue' +import Listing from '../components/Listing.vue' window.Fieldtype = Fieldtype; window.IndexFieldtype = IndexFieldtype; window.BardToolbarButton = BardToolbarButton; - +window.Listing = Listing; Vue.mixin({ methods: {