Indeed you need to mark at least one Panel object with .servable()
for panel serve
to pick it up and render it in the served app. In a notebook context, .servable()
isn’t required as Panel objects support the rich display functionality offered by IPython. In a notebook again, marking an object with .servable()
has no effect, it’s a no-op; it’s only useful if you ultimately serve directly the notebook with panel serve
.
- I’ve opened a PR to add
.servable()
to the first app of the getting started (DOC: mark the first app in the getting started with `.servable()` by maximlt · Pull Request #5624 · holoviz/panel · GitHub) - The Core Concepts guide that is the next section part of the Getting Started describes
.servable()