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