-
Hi there — I have been playing around ObservableJS notebooks and was wondering if there was anyway to use local Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Importing from
|
Beta Was this translation helpful? Give feedback.
Importing from
node_modules
won't really work because although those are also Javascript, nodejs libraries are not compatible with the browser environment. However, if you have local javascript libraries in your project which work in a browser and you want to reuse them, you can import from them directly. See https://quarto.org/docs/interactive/ojs/code-reuse.html. (Do note that they need to be ES modules.)