[Vuejs]-Error in rendering in VueJS and Laravel mix

1👍

Apply v-if on your router-link

<router-link
    v-if="user" //use user as v-if
    :to="{
        name: 'play',
        params: { token: this.$route.params.token,
                  id: user.id }
        }"
    target="_blank"
    >
        <button class="btn btn-warning fz-btn-play">
             <i class="fas fa-play"></i>
        </button>
</router-link>

This will prevent the error you are facing.

Leave a comment