[Vuejs]-Vue allow components anywhere, not just in #app

1πŸ‘

βœ…

I see that you are importing Component from vue-class-component but you’re not using it when you extend Vue in your ListClubsComponent. Funny things happen when you extend vue without using the @Component decorator. Make sure you use it

<script lang="ts">
    import Vue from "vue";
    import Component from "vue-class-component";

    @Component
    export default class ListClubsComponent extends Vue {}
</script>

Leave a comment