Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jul 6, 2025. It is now read-only.

What is the right approach for css file import? #174

Unanswered
borsemayur2 asked this question in Q&A
Discussion options

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?

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /