This template should help get you started developing with Vue 3 in Vite.
VSCode + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).
See Vite Configuration Reference.
npm install
npm run dev
npm run pakc
Lint with ESLint
npm run lint
- Always wrap you logic with
ZOHODESK.extension.onload()
to be able to use the Zoho Desk SDK.
export default {
// `mounted` is a lifecycle hook which we will explain later
mounted() {
ZOHODESK.extension.onload().then((App) => {
ZOHODESK.get("ticket.email").then((response) => {
console.log(response);
});
});
},
};