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.
Let me know what you think ! Interested in knowing how others have integrated a Bokeh app in Vue.