Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

svg image not show on browser #81

Open
Lil-Kr opened this issue Nov 30, 2022 · 1 comment
Open

svg image not show on browser #81

Lil-Kr opened this issue Nov 30, 2022 · 1 comment

Comments

@Lil-Kr
Copy link

Lil-Kr commented Nov 30, 2022

package.json
image

vite.config.ts
image

local svg
image

svg component
image

use component
image

that is my config and svg info, then the svg image not show on chrome browser, could you please help to check or support? how should I use it ? thanks !!!!

@vovsemenv
Copy link

did you add virtual module import in you index file?
import 'virtual:svg-icons-register'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants