im currently trying to get used to Frontity and React as a whole, however i have the problem that for some reason i can use ant-d components, these components will be rendered but the styles won’t be shown at all.
Anybody else experienced this?
Thanks
Taking this into account, if you decide to go with a non CSS-In-JS solution you can also do it by adding Global styles to the project (taking into account the penalization to the performance → the final bundle won’t be as small as it would by with a CSS-In-JS solution)
To load the styles of AntD you’ll have to add them as Global styles of your project. To do so you have to import them as strings and use Global and css from Frontity as shown below. It’s needed to be done this way because we do a lot of CSS optimization.