Skip to content

Commit

Permalink
Fix [Vue warn]: Vue is a constructor and should be called with the ke…
Browse files Browse the repository at this point in the history
…yword

Found answer at:
vuejs/vue-loader#409 (comment)
Thank you, @Protossoario, thank you, sir! :D
  • Loading branch information
binary4oul committed May 28, 2017
1 parent d7c0243 commit f235d78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/specs/Vuetable.spec.js
@@ -1,6 +1,6 @@
import Vue from 'vue'
import Vuetable from '../../../src/components/Vuetable.vue'
const VuetableInjector = require('!!vue?inject!../../../src/components/Vuetable')
const VuetableInjector = require('!!vue-loader?inject!../../../src/components/Vuetable')

describe('data requests', () => {
let VuetableWithMocks
Expand Down

0 comments on commit f235d78

Please sign in to comment.