You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 lines
3.3 KiB

"use strict";(self.webpackChunkantd=self.webpackChunkantd||[]).push([[6156],{512001:function(r,u,e){e.r(u);var m=e(502143),E=e(968521),v=e(720719),h=e(28840),a=e(759907),P=e(828089),g=e(825673),Z=e(902068),D=e(574399),M=e(863942),O=e(316073),x=e(24628),C=e(719260),T=e(956140),p=e(127179),c=e(905388),B=e(40428),I=e(606965),A=e(268696),l=e(587302),t=e(424128),L=e(249706),R=e(795127),W=e(116846),K=e(212039),U=e(73024),f=e(553913),d=e(606641),i=e(667294),_=e(370917);function s(){var o=(0,d.eL)(),n=o.texts;return(0,_.tZ)(d.dY,null,(0,_.tZ)(i.Fragment,null,(0,_.tZ)("div",{className:"markdown"},(0,_.tZ)("p",null,(0,_.tZ)(t.Z,{href:"https://create-react-app.dev/",sourceType:"a"},n[0].value),n[1].value,(0,_.tZ)("code",null,n[2].value),n[3].value,(0,_.tZ)("code",null,n[4].value),n[5].value),(0,_.tZ)("blockquote",null,(0,_.tZ)("p",null,(0,_.tZ)("code",null,n[6].value),n[7].value,(0,_.tZ)("code",null,n[8].value),n[9].value)),(0,_.tZ)("h2",{id:"\u5B89\u88C5\u548C\u521D\u59CB\u5316"},(0,_.tZ)(t.Z,{"aria-hidden":"true",tabIndex:"-1",href:"#\u5B89\u88C5\u548C\u521D\u59CB\u5316",sourceType:"a"},(0,_.tZ)("span",{className:"icon icon-link"})),"\u5B89\u88C5\u548C\u521D\u59CB\u5316"),(0,_.tZ)("p",null,n[10].value,(0,_.tZ)(t.Z,{href:"https://github.com/yarnpkg/yarn/",sourceType:"a"},n[11].value),n[12].value,(0,_.tZ)(t.Z,{href:"https://pnpm.io/zh/",sourceType:"a"},n[13].value),n[14].value)),(0,_.tZ)(l.Z,{npm:"$ npx create-react-app antd-demo --template typescript",yarn:"$ yarn create react-app antd-demo --template typescript",pnpm:"$ pnpm create react-app antd-demo --template typescript"}),(0,_.tZ)("div",{className:"markdown"},(0,_.tZ)("p",null,n[15].value),(0,_.tZ)("p",null,n[16].value),(0,_.tZ)(a.Z,{lang:"bash"},n[17].value),(0,_.tZ)("p",null,n[18].value,(0,_.tZ)(t.Z,{href:"http://localhost:3000/",sourceType:"a"},n[19].value),n[20].value,(0,_.tZ)("code",null,n[21].value),n[22].value),(0,_.tZ)("h2",{id:"\u5F15\u5165-antd"},(0,_.tZ)(t.Z,{"aria-hidden":"true",tabIndex:"-1",href:"#\u5F15\u5165-antd",sourceType:"a"},(0,_.tZ)("span",{className:"icon icon-link"})),"\u5F15\u5165 antd"),(0,_.tZ)("p",null,n[23].value),(0,_.tZ)(a.Z,null,n[24].value),(0,_.tZ)("p",null,n[25].value)),(0,_.tZ)(l.Z,{npm:"$ npm install antd --save",yarn:"$ yarn add antd",pnpm:"$ pnpm install antd --save"}),(0,_.tZ)("div",{className:"markdown"},(0,_.tZ)("p",null,n[26].value,(0,_.tZ)("code",null,n[27].value),n[28].value),(0,_.tZ)(a.Z,{lang:"tsx"},n[29].value),(0,_.tZ)("p",null,n[30].value,(0,_.tZ)(t.Z,{href:"https://create-react-app.dev/docs/getting-started",sourceType:"a"},n[31].value),n[32].value),(0,_.tZ)("h3",{id:"\u81EA\u5B9A\u4E49\u4E3B\u9898"},(0,_.tZ)(t.Z,{"aria-hidden":"true",tabIndex:"-1",href:"#\u81EA\u5B9A\u4E49\u4E3B\u9898",sourceType:"a"},(0,_.tZ)("span",{className:"icon icon-link"})),"\u81EA\u5B9A\u4E49\u4E3B\u9898"),(0,_.tZ)("p",null,n[33].value,(0,_.tZ)(t.Z,{to:"/docs/react/customize-theme",sourceType:"Link"},n[34].value),n[35].value),(0,_.tZ)(a.Z,{lang:"tsx"},n[36].value),(0,_.tZ)("p",null,(0,_.tZ)("code",null,n[37].value),n[38].value),(0,_.tZ)("p",null,(0,_.tZ)("img",{src:"https://gw.alipayobjects.com/zos/antfincdn/26L5vPoLug/8d7da796-175e-40af-8eea-e7031ba09f9f.png",alt:""})),(0,_.tZ)("blockquote",null,(0,_.tZ)("p",null,n[39].value,(0,_.tZ)("code",null,n[40].value),n[41].value)),(0,_.tZ)("p",null,n[42].value))))}u.default=s}}]);