Enable switching between the JupyterLab and Notebook interfaces#
By default JupyterLite includes both the JupyterLab and Notebook interfaces.
The JupyterLab interface is available under the
/lab path, and the Notebook file
browser is available under the
/tree path. However there is no convenient way to
switch between the two interfaces by default.
To add menu entries and toolbar items to help switching between interfaces, you can
notebook package in the build environment, just like any other extension.
In your build environment, install the
pip install notebook
Or add it to your
requirements.txt or similar file for managing dependencies:
Then build your JupyterLite site as usual:
jupyter lite build
notebook package includes a JupyterLab extensions that adds the menu entries and
toolbar items to switch between interfaces.
Switch between JupyterLab and Notebook interfaces#
notebook package also adds a toolbar item to switch between the JupyterLab and
Check out the guide for adding extensions for more informations about how to add extensions to your JupyterLite site.