Comments (7)
@hongchanhk01 Can I know how did you fix the rollup configuratiuon to avoid this annoying issue? Thanks
from ant-design-icons.
Hi. I am the author of the Angular adapter. You quoted a wrong line of the code. Actually, it's:
For icons provided by ant design, theme
property should always be specified.
So I guess the problem wasn't because of these codes?
from ant-design-icons.
@wendzhue
Indeed, I try to dig a little bit deeper seem the data from Icons not that correct. Not sure is it my build problem or something else
You can see there are some incorrect data at the first two item for the icons array
from ant-design-icons.
@hongchanhk01 I guess something is wrong with your building process. Actually, you just have to add raw svg files under svg
dir and our script would do everything for you.
from ant-design-icons.
@wendzhue
I do think so. Thank you for your time and sorry for the noise.
It seem rollup
include default
es export for allIcons
.
Will close the issues for now.
from ant-design-icons.
@wendzhue
Sorry for bother u again
May I know shouldn't the import here for ant design icon using just @ant-design/icons
instead of the @ant-design/icons/lib/dist
build.
Maybe this is why rollup does pick up the correct es modules ?
from ant-design-icons.
@hongchanhk01 Can I know how did you fix the rollup configuratiuon to avoid this annoying issue? Thanks
from ant-design-icons.
Related Issues (20)
- 从4.6.2升级到5.2.6是否有breakChange
- Add ability to cache icons with local/session storage
- [Angular] Allow usage with trusted types HOT 3
- ant-design-icons在nextjs首页渲染时样式未能预先加载 HOT 1
- May I request INR icon?
- Cannot use import statement outside a module HOT 5
- Console error the icon StartDateOutlined-o does not exist or is not registered
- filled/twitch.svg is wrong size
- @ant-design/icons-vue 4 Months Behind on Latest Icons HOT 1
- Add icon for safari browser
- XFilled 显示异常
- @types/react 18.2.66版本删除了onPointerEnterCapture、onPointerLeaveCapture事件 HOT 6
- @ant-design/[email protected] tsc 失败 HOT 3
- Appstore 的图标命名 HOT 2
- latest tag 指向的是 4.x 版本 HOT 4
- latest tag 再次指向了 4.x 版本 HOT 1
- 无法在 vite 和 remix 中使用 HOT 6
- Regarding the React Natvie bug issue HOT 1
- airplane, hotel icons missing in nz icon
- Cascade Layers support HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ant-design-icons.