I'm starting new project using Electron and Vue. I used the electron-vue boilerplate to setup the project.
As soon as I try to use a component into another, I get a Unknown custom element error.
I've searched all around the web but nothing I've tried so far works. Here are the two of the components I wrote:
..../CreateAddon/AddonProgress.vue
<template>
<div>AddonProgress</div>
</template>
<script>
export default {
}
</script>
<style>
</style>
Here's where I'm trying to use it
..../CreateAddon.vue
<template>
<div>
<addon-progress></addon-progress>
<router-view></router-view>
</div>
</template>
<script>
import { AddonProgress } from './CreateAddon/AddonProgress'
export default {
name: 'create-addon',
components: { AddonProgress }
}
</script>
<style>
</style>
The frustrating part is that the boilerplate code includes and example of a imported component, and I'm doing exactly the same thing.
What am I missing here?