0👍
You registered the component incorrectly, as it stated.
Change these
Vue.component('createPost', require('./components/CreatePost.vue'))
To these
Vue.component('create-post', require('./components/CreatePost.vue'))
- [Vuejs]-TypeError: Cannot read property 'clipboard' of undefined when calling this.$q.electron.clipboard
- [Vuejs]-Why Laravel stores only the last file when I upload several files at the time?
Source:stackexchange.com