Skip to content

Commit

Permalink
Add Listing component as Vue mixin (#2602)
Browse files Browse the repository at this point in the history
  • Loading branch information
Duncan McClean authored Oct 7, 2020
1 parent c256d57 commit 57cc9c1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions resources/js/bootstrap/mixins.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit 57cc9c1

Please sign in to comment.