mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 02:59:58 +08:00
1 line
4.2 KiB
JavaScript
1 line
4.2 KiB
JavaScript
(("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd=("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd||[]).push([["62a5b644"],{"62a5b644":function(e,a,l){"use strict";l.d(a,"__esModule",{value:!0}),l.d(a,"default",{enumerable:!0,get:function(){return p;}});var n=l("777fffbe"),s=l("f19d2b93"),d=n._(l("b622e337")),t=n._(l("5437c7d5")),c=n._(l("97c488ea")),i=n._(l("c96b0d01")),r=l("5b220c3d"),u=l("9c86e52a");function h(){let{texts:e}=(0,u.useRouteMeta)();return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:"markdown",children:[(0,s.jsxs)("p",{children:[(0,s.jsx)(c.default,{href:"https://create-react-app.dev/",sourceType:"a",children:e[0].value}),e[1].value,(0,s.jsx)("code",{children:e[2].value}),e[3].value,(0,s.jsx)("code",{children:e[4].value}),e[5].value]}),(0,s.jsx)("blockquote",{children:(0,s.jsxs)("p",{children:[e[6].value,(0,s.jsx)("code",{children:e[7].value}),e[8].value,(0,s.jsx)("code",{children:e[9].value}),e[10].value]})}),(0,s.jsxs)("h2",{id:"install-and-initialization",children:[(0,s.jsx)(c.default,{"aria-hidden":"true",tabIndex:"-1",href:"#install-and-initialization",sourceType:"a",children:(0,s.jsx)("span",{className:"icon icon-link"})}),"Install and Initialization"]}),(0,s.jsxs)("p",{children:[e[11].value,(0,s.jsx)(c.default,{href:"https://github.com/yarnpkg/yarn/",sourceType:"a",children:e[12].value}),e[13].value,(0,s.jsx)(c.default,{href:"https://pnpm.io/",sourceType:"a",children:e[14].value}),e[15].value,(0,s.jsx)(c.default,{href:"https://bun.sh/",sourceType:"a",children:e[16].value}),e[17].value]})]}),(0,s.jsx)(t.default,{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",bun:"$ bun create react-app antd-demo --template typescript"}),(0,s.jsxs)("div",{className:"markdown",children:[(0,s.jsx)("p",{children:e[18].value}),(0,s.jsx)("p",{children:e[19].value}),(0,s.jsx)(d.default,{lang:"bash",children:e[20].value}),(0,s.jsxs)("p",{children:[e[21].value,(0,s.jsx)(c.default,{href:"http://localhost:3000/",sourceType:"a",children:e[22].value}),e[23].value,(0,s.jsx)("code",{children:e[24].value}),e[25].value]}),(0,s.jsxs)("h2",{id:"import-antd",children:[(0,s.jsx)(c.default,{"aria-hidden":"true",tabIndex:"-1",href:"#import-antd",sourceType:"a",children:(0,s.jsx)("span",{className:"icon icon-link"})}),"Import antd"]}),(0,s.jsx)("p",{children:e[26].value}),(0,s.jsx)(d.default,{children:e[27].value}),(0,s.jsxs)("p",{children:[e[28].value,(0,s.jsx)("code",{children:e[29].value}),e[30].value]})]}),(0,s.jsx)(t.default,{npm:"$ npm install antd --save",yarn:"$ yarn add antd",pnpm:"$ pnpm install antd --save",bun:"$ bun add antd"}),(0,s.jsxs)("div",{className:"markdown",children:[(0,s.jsxs)("p",{children:[e[31].value,(0,s.jsx)("code",{children:e[32].value}),e[33].value,(0,s.jsx)("code",{children:e[34].value}),e[35].value]}),(0,s.jsx)(d.default,{lang:"tsx",children:e[36].value}),(0,s.jsxs)("p",{children:[e[37].value,(0,s.jsx)("code",{children:e[38].value}),e[39].value,(0,s.jsx)("code",{children:e[40].value}),e[41].value,(0,s.jsx)(c.default,{href:"https://create-react-app.dev/docs/getting-started",sourceType:"a",children:e[42].value}),e[43].value]}),(0,s.jsxs)("h3",{id:"customize-theme",children:[(0,s.jsx)(c.default,{"aria-hidden":"true",tabIndex:"-1",href:"#customize-theme",sourceType:"a",children:(0,s.jsx)("span",{className:"icon icon-link"})}),"Customize Theme"]}),(0,s.jsxs)("p",{children:[e[44].value,(0,s.jsx)(c.default,{to:"/docs/react/customize-theme",sourceType:"Link",children:e[45].value}),e[46].value]}),(0,s.jsx)(d.default,{lang:"tsx",children:e[47].value}),(0,s.jsxs)("p",{children:[(0,s.jsx)("code",{children:e[48].value}),e[49].value]}),(0,s.jsx)("p",{children:(0,s.jsx)("img",{src:"https://gw.alipayobjects.com/zos/antfincdn/26L5vPoLug/8d7da796-175e-40af-8eea-e7031ba09f9f.png",alt:""})}),(0,s.jsx)("blockquote",{children:(0,s.jsxs)("p",{children:[e[50].value,(0,s.jsx)("code",{children:e[51].value}),e[52].value]})}),(0,s.jsx)("p",{children:e[53].value})]})]});}var p=function(){return(0,s.jsx)(u.DumiPage,{children:(0,s.jsx)(r.Suspense,{fallback:(0,s.jsx)(i.default,{}),children:(0,s.jsx)(h,{})})});};}}]); |