Trame template #587
Unanswered
HuyNguyenDePaul
asked this question in
Trame/VTK
Replies: 1 comment 2 replies
-
You can see the generated template by just printing it ( But either way, trame expect a websocket connection to the actual server process. If you aim to deploy the client side on a django/regular-webserver, it will not work unless you fully handle the launching process + ws connection part and serve the static content like we do when we bundle apps with docker. Trame is not like a regular web server. It is more like creating desktop apps. Then it is up to you to make them available in the cloud or just run them locally. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I have been trying for the past couple of days to understand exactly what Trame does when it generates its templates for Vue.js to drive. I think I was able to successfully get the actual HTML template that Trame generates for Vue.js, but I am unable to successfully have another server act as the frontend (such as Django) and have a Trame server connect to that frontend server. If possible, could someone tell me if what I am doing is even feasible. I currently think it might be better to just focus on writing the client manually since I was able to do that successfully and it seems a lot easier, and this seems to be a lot more complicated. But if someone else could guide me, that would be great.
Here is the code that I am using to traverse the HTML elements/template.
Beta Was this translation helpful? Give feedback.
All reactions