feature-sliced / documentation

🍰 Architectural methodology for frontend projects
https://feature-sliced.design
MIT License
1.5k stars 159 forks source link

docs: Remove code block, which contained import of common antd styles #609

Closed corocoto closed 1 year ago

corocoto commented 1 year ago

Background

Remove code block, which contained import of antd/dist/antd.css. The main reason why I do so - is that this approach doesn't actual at v5 of antd.

For proving it, you can read the list of incompatible changes in v5 on official site, especially "Technology adjustment" block

Css files are no longer included in package. Since CSS-in-JS supports importing on demand, the original antd/dist/antd.css has also been abandoned. If you need to reset some basic styles, please import antd/dist/reset.css.

netlify[bot] commented 1 year ago

Deploy request for pr-fsd accepted.

Name Link
Latest commit ac4fd46c771ef42a4e5403ed9f8909eee9a2dedf
Latest deploy log https://app.netlify.com/sites/pr-fsd/deploys/64c6527f255c0f0008637562
azinit commented 1 year ago

@feature-sliced/core