2.4.2
https://github.com/GoNtte/plugin
run the project, click vue logo.
Click the method call the message plugin
in the page should show text: vue plugin
plugin message don't show up properly, only show a empty div node
The code works fine in vue2.3.4
vue-loader 13+ exports an ES module now, so you need to do:
let MessageConstructor = Vue.extend(require('./message.vue').default)
why do this
Most helpful comment
vue-loader13+ exports an ES module now, so you need to do: