Skip to content

How to import .css file from node module into my custom .css file? #1275

Answered by CAYdenberg
martinswan asked this question in Q&A
Discussion options

You must be logged in to vote

I tried this, and it looks to me like Observable can't (yet) handle serving font files as static assets. It correctly resolves all the paths, but it doesn't yet know what to do with the actual font files (eot and woff).

Best bet for now is to get the font from a CDN.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@CAYdenberg
Comment options

@martinswan
Comment options

@CAYdenberg
Comment options

@martinswan
Comment options

Answer selected by martinswan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants