D
Deno
Change Theme
Search Answer Overflow
Login
scarf
•
15mo ago
how to import svg in vite without type errors?
2 Replies
TheYuriG
•
15mo ago
how are you exporting it? error says you don't have a default export don't you?
scarf
•
15mo 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.
17K
Members
View on Discord