After the great answer in Configuring type definitions when depending on bokehjs npm package I’ve now managed to import the bokehjs npm package and can now render all the models in the core bundle but I can’t figure out how I can include the widget models. If I try to render any widget I get this error message indicating that the widgets weren’t loaded:
Model ‘Div’ does not exist. This could be due to a widget or a custom model not being registered before first usage.
Running the import does not seem sufficient: