FileMaker keeps loading when perform js in web viewer

Hi, I am trying to create a Vue app inside Webviewer. I have tried to pass data from FM to the web viewer which is fine when the server is on(in development mode). When I tried to deploy and press the load button again. FM keeps loading. Does anyone know any way to solve this issue? If it is not possible, I think Vue may not be used in FM unless you create an app outside FM and just handle JSON.

Here is my repository:

Thank you.

GitHub - sam3016/vue-environment