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.5 KiB
2 lines
3.5 KiB
1 year ago
|
"use strict";(self.webpackChunkantd=self.webpackChunkantd||[]).push([[6256],{679200:function(r,l,e){e.r(l);var m=e(502143),E=e(968521),v=e(720719),h=e(28840),a=e(759907),Z=e(828089),g=e(825673),P=e(902068),D=e(574399),x=e(863942),M=e(316073),O=e(24628),C=e(719260),T=e(956140),p=e(127179),I=e(905388),A=e(40428),B=e(606965),R=e(268696),s=e(587302),t=e(424128),L=e(249706),W=e(795127),K=e(116846),U=e(212039),c=e(73024),f=e(553913),i=e(606641),u=e(667294),_=e(370917);function d(){var o=(0,i.eL)(),n=o.texts;return(0,_.tZ)(i.dY,null,(0,_.tZ)(u.Fragment,null,(0,_.tZ)("div",{className:"markdown"},(0,_.tZ)("p",null,(0,_.tZ)(t.Z,{href:"https://nextjs.org/",sourceType:"a"},n[0].value),n[1].value,(0,_.tZ)("code",null,n[2].value),n[3].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[4].value,(0,_.tZ)(t.Z,{href:"https://github.com/yarnpkg/yarn/",sourceType:"a"},n[5].value),n[6].value,(0,_.tZ)(t.Z,{href:"https://pnpm.io/zh/",sourceType:"a"},n[7].value),n[8].value)),(0,_.tZ)(s.Z,{npm:"$ npx create-next-app antd-demo",yarn:"$ yarn create next-app antd-demo",pnpm:"$ pnpm create next-app antd-demo"}),(0,_.tZ)("div",{className:"markdown"},(0,_.tZ)("p",null,n[9].value),(0,_.tZ)("p",null,n[10].value),(0,_.tZ)(a.Z,{lang:"bash"},n[11].value),(0,_.tZ)("p",null,n[12].value,(0,_.tZ)(t.Z,{href:"http://localhost:3000/",sourceType:"a"},n[13].value),n[14].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[15].value)),(0,_.tZ)(s.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[16].value,(0,_.tZ)("code",null,n[17].value),n[18].value),(0,_.tZ)(a.Z,{lang:"jsx"},n[19].value),(0,_.tZ)("p",null,n[20].value,(0,_.tZ)("code",null,n[21].value),n[22].value,(0,_.tZ)(t.Z,{href:"https://nextjs.org/",sourceType:"a"},n[23].value),n[24].value),(0,_.tZ)("p",null,n[25].value),(0,_.tZ)("h2",{id:"\u4F7F\u7528-nextjs-\u7684-app-router"},(0,_.tZ)(t.Z,{"aria-hidden":"true",tabIndex:"-1",href:"#\u4F7F\u7528-nextjs-\u7684-app-router",sourceType:"a"},(0,_.tZ)("span",{className:"icon icon-link"})),"\u4F7F\u7528 Next.js \u7684 App Router"),(0,_.tZ)("p",null,n[26].value),(0,_.tZ)("ol",null,(0,_.tZ)("li",null,n[27].value,(0,_.tZ)("code",null,n[28].value)))),(0,_.tZ)(s.Z,{npm:"$ npm install @ant-design/cssinjs --save",yarn:"$ yarn add @ant-design/cssinjs",pnpm:"$ pnpm install @ant-design/cssinjs --save"}),(0,_.tZ)("div",{className:"markdown"},(0,_.tZ)("ol",{start:"2"},(0,_.tZ)("li",null,n[29].value,(0,_.tZ)("code",null,n[30].value))),(0,_.tZ)(a.Z,{lang:"tsx"},n[31].value),(0,_.tZ)("ol",{start:"3"},(0,_.tZ)("li",null,n[32].value,(0,_.tZ)("code",null,n[33].value),n[34].value)),(0,_.tZ)(a.Z,{lang:"tsx"},n[35].value),(0,_.tZ)("ol",{start:"4"},(0,_.tZ)("li",null,n[36].value,(0,_.tZ)("code",null,n[37].value),n[38].value)),(0,_.tZ)(a.Z,{lang:"ts"},n[39].value),(0,_.tZ)("ol",{start:"5"},(0,_.tZ)("li",null,n[40].value)),(0,_.tZ)(a.Z,{lang:"tsx"},n[41].value),(0,_.tZ)("p",null,n[42].value,(0,_.tZ)(t.Z,{href:"https://github.com/ant-design/ant-design-examples/tree/main/examples/with-nextjs-app-router-inline-style",sourceType:"a"},n[43].value),n[44].value))))}l.default=d}}]);
|