mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 02:59:58 +08:00
1 line
8.6 KiB
JavaScript
1 line
8.6 KiB
JavaScript
(("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd=("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd||[]).push([["c4cd4604"],{c4cd4604:function(a,e,d){"use strict";d.d(e,"__esModule",{value:!0}),d.d(e,"texts",{enumerable:!0,get:function(){return o;}}),d("fc106a4b");let o=[{value:"\n ",paraId:0},{value:"Following the Ant Design specification, we developed a React UI library ",paraId:1},{value:"antd",paraId:1},{value:" (",paraId:1},{value:"Pronunciation",paraId:2},{value:") that contains a set of high quality components and demos for building rich, interactive user interfaces.",paraId:1},{value:"\n ",paraId:0},{value:"\n ",paraId:0},{value:"+",paraId:0},{value:"\n ",paraId:0},{value:"\u{1F308} Enterprise-class UI designed for web applications.",paraId:3,tocIndex:0},{value:"\u{1F4E6} A set of high-quality React components out of the box.",paraId:3,tocIndex:0},{value:"\u{1F6E1} Written in TypeScript with predictable static types.",paraId:3,tocIndex:0},{value:"\u2699\uFE0F Whole package of design resources and development tools.",paraId:3,tocIndex:0},{value:"\u{1F30D} Internationalization support for dozens of languages.",paraId:3,tocIndex:0},{value:"\u{1F3A8} Powerful theme customization in every detail.",paraId:3,tocIndex:0},{value:"Modern browsers",paraId:4,tocIndex:1},{value:"Server-side Rendering",paraId:4,tocIndex:1},{value:"Electron",paraId:4,tocIndex:1},{value:"Edge",paraId:5,tocIndex:1},{value:"Firefox",paraId:5,tocIndex:1},{value:"Chrome",paraId:5,tocIndex:1},{value:"Safari",paraId:5,tocIndex:1},{value:"Opera",paraId:5,tocIndex:1},{value:"Electron",paraId:5,tocIndex:1},{value:"Edge",paraId:5,tocIndex:1},{value:"last 2 versions",paraId:5,tocIndex:1},{value:"last 2 versions",paraId:5,tocIndex:1},{value:"last 2 versions",paraId:5,tocIndex:1},{value:"last 2 versions",paraId:5,tocIndex:1},{value:"last 2 versions",paraId:5,tocIndex:1},{value:"Polyfills are needed for IE browsers. We recommend ",paraId:6,tocIndex:1},{value:"@babel/preset-env",paraId:6,tocIndex:1},{value:" for it. You can set ",paraId:6,tocIndex:1},{value:"targets",paraId:6,tocIndex:1},{value:" config if you are using ",paraId:6,tocIndex:1},{value:"umi",paraId:6,tocIndex:1},{value:".",paraId:6,tocIndex:1},{value:"Dropped support of IE8 after ",paraId:7,tocIndex:1},{value:"antd@2.0",paraId:7,tocIndex:1},{value:". Dropped support of React 15 and IE9/10 after ",paraId:7,tocIndex:1},{value:"antd@4.0",paraId:7,tocIndex:1},{value:". Dropped support of IE after ",paraId:7,tocIndex:1},{value:"antd@5.0",paraId:7,tocIndex:1},{value:".",paraId:7,tocIndex:1},{value:"Stable: ",paraId:8,tocIndex:2},{value:"You can subscribe to this feed for new version notifications: ",paraId:9,tocIndex:2},{value:"https://github.com/ant-design/ant-design/releases.atom",paraId:9,tocIndex:2},{value:"We recommend using ",paraId:10,tocIndex:4},{value:"npm",paraId:10,tocIndex:4},{value:" or ",paraId:10,tocIndex:4},{value:"yarn",paraId:10,tocIndex:4},{value:" or ",paraId:10,tocIndex:4},{value:"pnpm",paraId:10,tocIndex:4},{value:" or ",paraId:10,tocIndex:4},{value:"bun",paraId:10,tocIndex:4},{value:" to install",paraId:10,tocIndex:4},{value:", it not only makes development easier, but also allow you to take advantage of the rich ecosystem of Javascript packages and tooling.",paraId:10,tocIndex:4},{value:"If you are in a bad network environment, you can try other registries and tools like ",paraId:11},{value:"cnpm",paraId:11},{value:".",paraId:11},{value:"Add ",paraId:12,tocIndex:5},{value:"script",paraId:12,tocIndex:5},{value:" and ",paraId:12,tocIndex:5},{value:"link",paraId:12,tocIndex:5},{value:" tags in your browser and use the global variable ",paraId:12,tocIndex:5},{value:"antd",paraId:12,tocIndex:5},{value:".",paraId:12,tocIndex:5},{value:"We provide ",paraId:13,tocIndex:5},{value:"antd.js",paraId:13,tocIndex:5},{value:" and ",paraId:13,tocIndex:5},{value:"antd.min.js",paraId:13,tocIndex:5},{value:" ",paraId:13,tocIndex:5},{value:"reset.css",paraId:13,tocIndex:5},{value:" under ",paraId:13,tocIndex:5},{value:"dist",paraId:13,tocIndex:5},{value:" folder in antd's npm package. You can also download these files directly from ",paraId:13,tocIndex:5},{value:", ",paraId:13,tocIndex:5},{value:" or ",paraId:13,tocIndex:5},{value:"unpkg",paraId:13,tocIndex:5},{value:".",paraId:13,tocIndex:5},{value:"We strongly discourage loading the entire files",paraId:14,tocIndex:5},{value:" this will add bloat to your application and make it more difficult to receive bugfixes and updates. Antd is intended to be used in conjunction with a build tool, such as ",paraId:14,tocIndex:5},{value:"webpack",paraId:14,tocIndex:5},{value:", which will make it easy to import only the parts of antd that you are using.",paraId:14,tocIndex:5},{value:"Note: You should import ",paraId:15,tocIndex:5},{value:"react",paraId:15,tocIndex:5},{value:"\u3001",paraId:15,tocIndex:5},{value:"react-dom",paraId:15,tocIndex:5},{value:"\u3001",paraId:15,tocIndex:5},{value:"dayjs",paraId:15,tocIndex:5},{value:" before using ",paraId:15,tocIndex:5},{value:"antd.js",paraId:15,tocIndex:5},{value:".",paraId:15,tocIndex:5},{value:"import React from 'react';\nimport { DatePicker } from 'antd';\n\nconst App = () => {\n return <DatePicker />;\n};\n\nexport default App;\n",paraId:16,tocIndex:6},{value:"antd",paraId:17,tocIndex:7},{value:" supports ES modules tree shaking by default.",paraId:17,tocIndex:7},{value:"antd",paraId:18,tocIndex:8},{value:" provides a built-in ts definition, don't install ",paraId:18,tocIndex:8},{value:"@types/antd",paraId:18,tocIndex:8},{value:".",paraId:18,tocIndex:8},{value:"Home page",paraId:19,tocIndex:9},{value:"China Mirrors",paraId:20,tocIndex:9},{value:"Components",paraId:21,tocIndex:9},{value:"Ant Design Pro",paraId:20,tocIndex:9},{value:"Ant Design Pro Components",paraId:20,tocIndex:9},{value:"Ant Design Charts",paraId:20,tocIndex:9},{value:"Change Log",paraId:22,tocIndex:9},{value:"rc-components",paraId:20,tocIndex:9},{value:"Mobile Components",paraId:20,tocIndex:9},{value:"Mini Program Components",paraId:20,tocIndex:9},{value:"Ant Design Icons",paraId:20,tocIndex:9},{value:"Ant Design Colors",paraId:20,tocIndex:9},{value:"Landing Pages",paraId:20,tocIndex:9},{value:"Motion",paraId:20,tocIndex:9},{value:"Scaffold Market",paraId:20,tocIndex:9},{value:"Developer Instruction",paraId:20,tocIndex:9},{value:"Versioning Release Note",paraId:20,tocIndex:9},{value:"FAQ",paraId:23,tocIndex:9},{value:"CodeSandbox Template",paraId:20,tocIndex:9},{value:" for bug reports",paraId:20,tocIndex:9},{value:"Awesome Ant Design",paraId:20,tocIndex:9},{value:"Customize Theme",paraId:24,tocIndex:9},{value:"How to Apply for Being A Collaborator",paraId:20,tocIndex:9},{value:"React is used to encapsulate a library of components which embody our design language. We welcome the community to implement our design system ",paraId:25,tocIndex:10},{value:"in other front-end frameworks",paraId:26,tocIndex:10},{value:" of their choice.",paraId:25,tocIndex:10},{value:"Ant Design is widely used for building enterprise-level websites both domestically and internationally. You can refer to wappalyzer for reference data. If your company or product uses Ant Design, let us know ",paraId:27,tocIndex:11},{value:"here",paraId:27,tocIndex:11},{value:"!",paraId:27,tocIndex:11},{value:"Please read our ",paraId:28,tocIndex:12},{value:"CONTRIBUTING.md",paraId:28,tocIndex:12},{value:" first.",paraId:28,tocIndex:12},{value:"If you'd like to help us improve antd, just create a ",paraId:29,tocIndex:12},{value:"Pull Request",paraId:29,tocIndex:12},{value:". Feel free to report bugs and issues ",paraId:29,tocIndex:12},{value:"here",paraId:29,tocIndex:12},{value:".",paraId:29,tocIndex:12},{value:"If you're new to posting issues, we ask that you read ",paraId:30,tocIndex:12},{value:"How To Ask Questions The Smart Way",paraId:30,tocIndex:12},{value:" and ",paraId:30,tocIndex:12},{value:"How to Ask a Question in Open Source Community",paraId:30,tocIndex:12},{value:" and ",paraId:30,tocIndex:12},{value:"How to Report Bugs Effectively",paraId:30,tocIndex:12},{value:" prior to posting. Well written bug reports help us help you!",paraId:30,tocIndex:12},{value:"For questions on how to use antd, please post questions to ",paraId:31,tocIndex:13},{value:"GitHub Discussions",paraId:31,tocIndex:13},{value:" using the ",paraId:31,tocIndex:13},{value:"Q&A",paraId:31,tocIndex:13},{value:" tag or ",paraId:31,tocIndex:13},{value:" using the ",paraId:31,tocIndex:13},{value:"antd",paraId:31,tocIndex:13},{value:" tag.",paraId:31,tocIndex:13},{value:"As always, we encourage experienced users to help those who are not familiar with ",paraId:32,tocIndex:13},{value:"antd",paraId:32,tocIndex:13},{value:"!",paraId:32,tocIndex:13}];}}]); |