Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
V

vue-lumino

> 前端框架
Open source

A component to use Vue.js with Jupyter Lumino (PhosphorJS), integrating DOM & VDOM through event listeners and Vue reactivity system.

99 stars0 likes2 views
WebsiteGitHub

About

A component to use Vue.js with Jupyter Lumino (PhosphorJS), integrating DOM & VDOM through event listeners and Vue reactivity system.

vue-lumino

An example project showing one way to integrate Vue.js and Lumino (née PhosphorJS).

Lumino “is a library for building interactive web applications”. It is used by JupyterLab to create the top menu bar, widgets with close/maximize buttons, and other components that allow users to create web applications.

Based on work done for Cylc UI.

Installation

bash
# npm
npm install @tupilabs/vue-lumino

# yarn
yarn add @tupilabs/vue-lumino

Usage

You will have to import the Lumino component, and its stylesheet (or have a look at it and choose how to better customize it).

vue-lumino will install JupyterLab Lumino for you, if that's not in your dependency tree already. But you will still need to import the Lumino stylesheet as well in your component or sass or similar code.

The diff below is probably the easiest way to show how to use the component. It was created using vue create to create a new project using its default values. Then a version of the library was installed locally, and with the diff applied the component is ready to be used.

diff
diff --git a/src/App.vue b/src/App.vue
index 3943904..f04b13d 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -1,13 +1,38 @@
 
   

-    
+    
+    
+      
+      
+      
+    
   
 
 
+

+
 
 #app {
   font-family: Avenir, Helvetica, Arial, sans-serif;

Custom tab title

By default, the component uses the Vue Component name as the tab title. So if the component is defined as below.

javascript
export default {
  name: 'VueComponentName'
}

It means that the tab title of the component will use the title "VueComponentName".

Alternatively, it is possible to define a prop in the Lumino component to be used for the tab title. The default value of that prop is "name".

xml

The prop MAY be present in each component rendered by the Lumino component. If the component does not define the prop, then the Lumino component will use the default value, i.e. the component name.

xml

  
  
  
  

This is specially useful if you want to display a component is wrapped by another component. A common example of this use case, is using a loader component such as Vuetify Skeleton Loader.

Building

bash
$ yarn install             # install dependencies
$ yarn run serve           # run development server
$ yarn run build           # compiles and minifies for production
$ yarn run lint            # lint and fix files
$ yarn run test:unit       # run unit tests
$ yarn run test:e2e        # run e2e tests

License

Licensed under the Apache License. See LICENSE file for more.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

JavaScripthacktoberfestjupyterlabluminophosphorjs

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category前端框架
PricingOpen source

> Related tools

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架