Skip to content

Commit

Permalink
Merge pull request #3 from eblanshey/master
Browse files Browse the repository at this point in the history
Don't mix imports and module.exports due to babel plugin updates
  • Loading branch information
pstephan1187 authored Feb 7, 2017
2 parents 9dec8f1 + 46fa76b commit bf86746
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
import VueDatatable from './src/vue-datatable.vue'
module.exports = VueDatatable
import VueDatatable from './src/vue-datatable.vue';

export default VueDatatable;
2 changes: 1 addition & 1 deletion src/filter-bar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
</template>

<script>
module.exports = {
export default {
props: {
columns: [Object, Array],
rows: [Object, Array],
Expand Down
2 changes: 1 addition & 1 deletion src/vue-datatable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
</template>

<script>
module.exports = {
export default {
props: {
columns: [Object, Array],
rows: [Object, Array],
Expand Down

0 comments on commit bf86746

Please sign in to comment.