Possible to create Modal with Vue in a freshdesk frontend app?

Hello Community,

Has anyone tried to create Modal with Vue??? I am facing a technical problem while creating one.

What I tried to do is to create an app at location ticket_top_navigation . When the user clicks it, a Modal will be shown. In this Modal , the user can see a login form, and when he/she login, he/she will see a table containing some basic data in this Modal . I implemented that with a combination of Vue Version 2 template (generated by Vue Cli) and the default app template (generated by fdk create).

The problem is that the Vue elements cannot be displayed in the Modal after the Vue instance is mounted, or it just takes forever to render the login form in the Modal .

I wonder if Modal can be used with Vue rendering, and if there is problem with my Vue instance mounting :exploding_head:
Here is the main.ts file to show how my code is for creating the Modal and mounting the Vue instance:

import Vue from "vue";
import App from "./App.vue";
import store from "./store";

Vue.config.productionTip = false;

const vm = new Vue({
  render: (h) => h(App),
  created() {
  mounted() {

export let client;

function onAppActivate() {
    .trigger("showModal", {
      title: "Basic Data Modal",
      template: "index.html",
    .then(function (data) {
    .catch(function (error) {

function handleErr(err) {
  console.error(`Error occured. Details:`, err);

document.onreadystatechange = function () {
  function renderApp() {
    const onInit = app.initialized();

    function getClient(_client) {
      client = _client;
      client.events.on("app.activated", onAppActivate);


  if (document.readyState === "interactive") renderApp();

Any advice would be appreciated.


I haven’t tried out myself personally. I will probably leave it to the community or seek help from engineering team who can share some thoughts around it.

It’s been a week since you posted, I am just curious if you made any progress around this? Do you see any specific errors while doing so?