Support for TypeScript Modules

This commit is contained in:
Jarek Rozanski 2023-05-16 20:01:42 +00:00
parent 21bd300632
commit 6193324e89
5 changed files with 63 additions and 5 deletions

View file

@ -1,12 +1,12 @@
import { initWideAngle } from "./src";
import { initWideAngle } from "./dist";
import { ref } from 'vue';
export default {
install: async (app, options) => {
const waaRef = ref()
app.provide('waa', waaRef);
app.provide('waa', waaRef);
initWideAngle(options)
.then(waa => {
.then(waa => {
waaRef.value = waa;
console.debug("[WAA] Wide Angle Analytics instance available");
})