D
Deno
Change Theme
Search Answer Overflow
Login
scarf
•
2y ago
how to import svg in vite without type errors?
2 Replies
TheYuriG
•
2y ago
how are you exporting it? error says you don't have a default export don't you?
scarf
OP
•
2y ago
it's a plain svg file. i could've made it a tsx default export but wanted import it as-is as vite handles it natively
Deno
Join
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20K
Members
View on Discord