Haixing-Hu / vue-datetime-picker

A Vue.js component implementing the datetime picker control using the Eonasdan's bootstrap datetime picker plugin.
http://haixing-hu.github.io/vue-datetime-picker/
MIT License
341 stars 77 forks source link

plugin.apply is not a function #7

Closed amorphic closed 8 years ago

amorphic commented 8 years ago

Installation doesn't seem to work properly. It gives this error:

Module not found: Error: Cannot resolve module 'vue-datetime-picker'

So I have to do this:

components: {
  "vue-datetime-picker": require('../../node_modules/vue-datetime-picker/src/vue-datetime-picker.js')
}

That loads the module but then gives me this:

TypeError: plugin.apply is not a function

amorphic commented 8 years ago

Apologies, this was nothing to do with this plugin.