-
Hello again! After #1840 , I started trying to replace This is probably easy to explain with an example, so I made https://github.com/bbkane/framework-input-tables/tree/master After running import * as Inputs from "npm:@observablehq/inputs"; This works as expected However, I see the following after running import * as Inputs from "@observablehq/inputs"; I'm not sure why it matters which way I import the library, and I'm curious if one of you could explain what I'm doing wrong with the local import :) . Is this something to do with the import rules ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
This module also needs a stylesheet, which is transparently added when you use npm. Line 63 in 8efdcf4 You can also load it from npm independently of the node module:
However I'm not sure there is a simple way to load it from the node module directly |
Beta Was this translation helpful? Give feedback.
This module also needs a stylesheet, which is transparently added when you use npm.
framework/src/libraries.ts
Line 63 in 8efdcf4
You can also load it from npm independently of the node module:
However I'm not sure there is a simple way to load it from the node module directly
https://observablehq.com/framework/imports#node-imports