I’ve been exploring the documentation and discourse looking for examples of how to embed an entire Bokeh app in a Vue app but didn’t find any so I am now sharing my implementation so that it may help others that are also interested in integrating Bokeh with Vue.
The Bokeh server is embedded in a Flask app. The frontend calls the corresponding endpoint that calls server_document to return a script that we then inject into the page. This script then injects another script that will replace the former with the entire Bokeh app and initiate a Websocket connection directly to the Bokeh server.
There’s always a lot of interest in embedding Bokeh apps in different frameworks, so this is really a valuable example. Thanks so much for sharing your work with us, and the Bokeh community! Is it okay if we mention it in a tweet? If so, do you have a Twitter handle we should tag?
Btw I have a silly question, how did you a create a video of your dashboard. I too want to share some of my bokeh work but dont know how to create a video of my dashboard.