Skip to content

Commit

Permalink
switch to es6 import syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
max-yilang committed Dec 6, 2019
1 parent 25568d5 commit 2376770
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/js/filter.js

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion resources/js/filter.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import Filter from './components/Filter.vue';
Nova.booting((Vue, router, store) => {
Vue.component('nova-slider-filter', require('./components/Filter').default)
Vue.component('nova-slider-filter', Filter)
})

0 comments on commit 2376770

Please sign in to comment.