ant-design / ant-design

An enterprise-class UI design language and React UI library
https://ant.design
MIT License
93.39k stars 51.04k forks source link

docs: update usage with create-react-app #52645

Closed li-jia-nan closed 3 days ago

li-jia-nan commented 1 week ago

中文版模板 / Chinese template

🤔 This is a ...

🔗 Related Issues

  • Describe the source of related requirements, such as links to relevant issue discussions.
  • For example: close #xxxx, fix #xxxx

💡 Background and Solution

image

  • The specific problem to be addressed.
  • List the final API implementation and usage if needed.
  • If there are UI/interaction changes, consider providing screenshots or GIFs.

📝 Change Log

Language Changelog
🇺🇸 English docs: update usage with create-react-app
🇨🇳 Chinese docs: update usage with create-react-app
stackblitz[bot] commented 1 week ago

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

github-actions[bot] commented 1 week ago

Preview is ready

github-actions[bot] commented 1 week ago

👁 Visual Regression Report for PR #52645 Failed ❌

🎯 Target branch: master (755cde5792cac4413cf0d312aa1ea2b13be6a512) 📖 View Full Report ↗︎ 📊 Summary: 🔄 1 changed

Expected (Branch master) Actual (Current PR) Diff
input-group.compact.png input-group.compact.png input-group.compact.css-var.png input-group.compact.css-var.png

[!IMPORTANT] There are 1 diffs found in this PR: 🔄 1 changed. Please check all items:

  • [x] Visual diff is acceptable
petercat-assistant[bot] commented 1 week ago

Walkthrough

This pull request updates the documentation for using Ant Design with create-react-app. It reflects the recent deprecation of create-react-app by React, advising users accordingly.

Changes

Files Summary
docs/react/use-with-create-react-app.en-US.md, docs/react/use-with-create-react-app.zh-CN.md Updated the description to indicate that create-react-app is deprecated and no longer recommended by React.
github-actions[bot] commented 1 week ago

size-limit report 📦

Path Size
dist/antd.min.js 441.72 KB
dist/antd-with-locales.min.js 509.96 KB
pkg-pr-new[bot] commented 1 week ago

Open in Stackblitz

More templates

- [farm-normal](https://pkg.pr.new/template/87b2be10-b40c-4dff-9ff3-dc1531064071) - [rsbuild-normal](https://pkg.pr.new/template/c30042f7-5fbc-4e67-83cc-3e25328e0855) - [vite-normal](https://pkg.pr.new/template/37641611-73c6-4885-a47b-7a1ce94519fe) - [vite-practice](https://pkg.pr.new/template/0b19177f-1986-4b2e-bc15-85cc18cffec8) - [with-nextjs-app-router-inline-style](https://pkg.pr.new/template/3aca896d-7e1a-43bf-92e3-06238abda4ee) - [umi-normal](https://pkg.pr.new/template/14d561b3-e22b-4284-ab22-24ebf2ab8c9d) - [with-nextjs-extract-style](https://pkg.pr.new/template/7aaf557f-e12d-4ae4-a362-a34157544c09) - [with-nextjs-generate-css-on-demand](https://pkg.pr.new/template/21d6334b-bc43-440f-bb4d-58e733428bee) - [with-nextjs-inline-style](https://pkg.pr.new/template/c7da1880-95ed-460b-841b-6968ce19e080)

npm i https://pkg.pr.new/ant-design/ant-design/antd@52645

commit: 586636d

codecov[bot] commented 1 week ago

Bundle Report

Bundle size has no change :white_check_mark:

cloudflare-workers-and-pages[bot] commented 1 week ago

Deploying ant-design with  Cloudflare Pages  Cloudflare Pages

Latest commit: 586636d
Status: ✅  Deploy successful!
Preview URL: https://beee5c6d.ant-design.pages.dev
Branch Preview URL: https://create-react-app-doc.ant-design.pages.dev

View logs

codecov[bot] commented 1 week ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (755cde5) to head (586636d). Report is 1 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #52645 +/- ## =========================================== Coverage 100.00% 100.00% =========================================== Files 769 763 -6 Lines 15088 13781 -1307 Branches 4140 3610 -530 =========================================== - Hits 15088 13781 -1307 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.