@fwdigital/vue3-zd
v1.9.4
Published
Integrates ZetaDisplay and ItemDB items into a Vue3 app
Downloads
29
Readme
Npm install @fwdigital/vue3-zd to your vue template
In your vue template project:
- Main.js
import ZD from "@fwdigital/vue3-zd";
** (companyID && waveStreams optional) **
app.use(ZD, {
companyID: "companyCODE",
}).mount("#app");
- App.vue
import { useZD } from "@fwdigital/vue3-zd";
** Define consts you need. Pass a startTemplate function (ex. startfunc { bgVideo.play/timeline.start }) **
const { fields, waveItems, dataLoaded, isLocal, playerDetails } =
useZD(startTemplate);