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

使用iconify图标的时候 有时候图标不会显示 #187

Open
rouroumaki opened this issue Nov 28, 2024 · 2 comments
Open

使用iconify图标的时候 有时候图标不会显示 #187

rouroumaki opened this issue Nov 28, 2024 · 2 comments

Comments

@rouroumaki
Copy link

Bug report(问题描述)

使用iconify图标的时候 有时候图标不会显示,但是点击后又出现了,我新下的solar还是项目自带的carbon 都会有这个问题

Steps to reproduce(问题复现步骤)

Screenshot or Gif(截图或动态图)

image image

minimal reproduction(最小可还原代码)

image

System Info

npx envinfo --system --npmPackages vue --binaries --browsers

System:
OS: macOS 14.3
CPU: (8) arm64 Apple M1
Memory: 72.25 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 20.11.0 - /usr/local/bin/node
Yarn: 1.22.22 - /usr/local/bin/yarn
npm: 7.24.2 - ~/node_modules/.bin/npm
pnpm: 9.12.2 - /usr/local/bin/pnpm
Browsers:
Chrome: 131.0.6778.86
Edge: 131.0.2903.70
Safari: 17.3
npmPackages:
vue: 3.4.21 => 3.4.21

@rouroumaki
Copy link
Author

好像是在page.config.ts里面设置iconify不会显示,如果页面里有 就会显示

@Whbbit1999
Copy link

可以在uno.config.ts文件中使用safelist配置项把需要用到的图标的类名保存下来

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