This repository was archived by the owner on Jul 6, 2025. It is now read-only.
 
 
 - 
  Notifications
 
You must be signed in to change notification settings  - Fork 166
 
What is the right approach for css file import? #174
 
 Unanswered
 
 
 
 
 borsemayur2
 
 
 
 asked this question in
 Q&A
 
 -
I'm getting TypeError: Cannot resolve module "file:///home/mb/my/career/deno/aleph/todos-app/.aleph/development/-/cdn.https://cdn.esm.sh/antd@4.13.0/dist/antd.css" error for direct import of https://cdn.esm.sh/antd@4.13.0/dist/antd.css. But the same file works (and styles are applied) if I save the code in public/antd.css/ and import from there.
Is that the right approach or is there any other way to import css files?
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 0 comments
 
 Sign up for free
 to join this conversation on GitHub.
 Already have an account?
 Sign in to comment