Use case:
I am trying to add custom fonts to my jupyterLab Widgets,
For this purpose I had to add .ttf files to the repo. I am able to import them using full local url in base.css file, however This solution won’t scale when I eventually deploy it.
I was hoping to find something similar to assets folder Angular app. Is there a recommendation on how to implement it?
folder structure:
labextension-name/
—src/
—styles/
-------fonts/ => this folder has the .ttf files
-------base.css => I am importing the fonts using @font-face here
url(‘/Users/username/jupyterlab-extension/style/fonts/example.ttf’) - works
url(‘…/style/fonts/example.ttf’) - does not work