I'm currently trying to implement the Microsoft Teams SDK into my Vue.js project. I've already installed the npm package and refer to the package in my vue-file, but for some reason the value of my microsoftTeams alias will display as undefined. Is there a step I've missed or why is it that way?
Snippet of my vue-file:
<template>
<div>
<button v-on:click="getAuth()">do</button>
</div>
</template>
<script>
import * as microsoftTeams from "@microsoft/teams-js";
export default {
methods: {
getAuth() {
console.log(microsoftTeams);
}
}
};
</script>