1"use strict";(self.rspackChunk_taroify_site=self.rspackChunk_taroify_site||[]).push([[8981],{7774:function(s,e,n){n.r(e);var i=n(8171),r=n(7301),l=n(9984),a=n(1736);function c(s){var e=(0,i._)({a:"a",code:"code",h1:"h1",h2:"h2",h3:"h3",li:"li",ol:"ol",p:"p",pre:"pre",span:"span",ul:"ul"},(0,a.R)(),s.components);return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)(e.h1,{id:"å¼åæå",children:[(0,l.jsx)(e.a,{className:"rp-header-anchor","aria-hidden":"true",href:"#å¼åæå",children:"#"}),"å¼åæå"]}),"\n",(0,l.jsxs)(e.h3,{id:"ä»ç»",children:[(0,l.jsx)(e.a,{className:"rp-header-anchor","aria-hidden":"true",href:"#ä»ç»",children:"#"}),"ä»ç»"]}),"\n",(0,l.jsx)(e.p,{children:"æè°¢ä½ ä½¿ç¨ Taroifyã"}),"\n",(0,l.jsx)(e.p,{children:"以䏿¯å
³äºå Taroify æäº¤å馿代ç çæåãå¨å Taroify æäº¤ issue æè
PR ä¹åï¼è¯·å
è±å åéæ¶é´é
è¯»ä»¥ä¸æåã"}),"\n",(0,l.jsxs)(e.h3,{id:"issue-è§è",children:[(0,l.jsx)(e.a,{className:"rp-header-anchor","aria-hidden":"true",href:"#issue-è§è",children:"#"}),"Issue è§è"]}),"\n",(0,l.jsxs)(e.ul,{children:["\n",(0,l.jsx)(e.li,{children:"éå°é®é¢æ¶ï¼è¯·å
确认è¿ä¸ªé®é¢æ¯å¦å·²ç»å¨ issue ä¸æè®°å½æè
已被修å¤"}),"\n",(0,l.jsx)(e.li,{children:"æ issue æ¶ï¼è¯·ç¨ç®ççè¯è¨æè¿°éå°çé®é¢ï¼å¹¶æ·»å åºç°é®é¢æ¶çç¯å¢åå¤ç°æ¥éª¤"}),"\n"]}),"\n",(0,l.jsxs)(e.h2,{id:"åä¸å¼å",children:[(0,l.jsx)(e.a,{className:"rp-header-anchor","aria-hidden":"true",href:"#åä¸å¼å",children:"#"}),"åä¸å¼å"]}),"\n",(0,l.jsxs)(e.h3,{id:"æ¬å°å¼å",children:[(0,l.jsx)(e.a,{className:"rp-header-anchor","aria-hidden":"true",href:"#æ¬å°å¼å",children:"#"}),"æ¬å°å¼å"]}),"\n",(0,l.jsx)(e.p,{children:"æç
§ä¸é¢çæ¥éª¤æä½ï¼å³å¯å¨æ¬å°å¼å Taroify ç»ä»¶ã"}),"\n",(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(e.pre,{className:"shiki css-variables",style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0",lang:"bash",fold:!0,height:"420",children:(0,l.jsxs)(e.code,{children:[(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"# å
¨å±å®è£
rimraf"})}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"npm"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:" install"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:" -g"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:" rimraf"})]}),"\n",(0,l.jsx)(e.span,{className:"line"}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"# å
éä»åº"})}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"# é»è®¤ä¸º main 忝ï¼å
å« Taroify ç代ç "})}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"git"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:" clone"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:" https://github.com/taroify/taroify.git"})]}),"\n",(0,l.jsx)(e.span,{className:"line"}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"# å®è£
ä¾èµ"})}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"cd"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:" taroify"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:" &&"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:" pnpm"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:" run"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:" install:node_modules"})]}),"\n",(0,l.jsx)(e.span,{className:"line"}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"# è¿å
¥å¼å模å¼ï¼æµè§å¨è®¿é® http://localhost:8000"})}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"pnpm"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:" run"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:" develop"})]})]})})}),"\n",(0,l.jsxs)(e.h3,{id:"ç®å½ç»æ",children:[(0,l.jsx)(e.a,{className:"rp-header-anchor","aria-hidden":"true",href:"#ç®å½ç»æ",children:"#"}),"ç®å½ç»æ"]}),"\n",(0,l.jsxs)(e.ul,{children:["\n",(0,l.jsx)(e.li,{children:"ä»åºçç»ä»¶ä»£ç ä½äº packages/core ä¸ï¼æ¯ä¸ªç»ä»¶ä¸ä¸ªæä»¶å¤¹"}),"\n",(0,l.jsx)(e.li,{children:"site ç®å½ä¸æ¯ææ¡£ç½ç«ç代ç ï¼æ¬å°å¼åæ¶å¯ä»¥è¿è¡ pnpm --dir site run site:develop å¼å¯ææ¡£ç½ç«"}),"\n"]}),"\n",(0,l.jsx)(e.p,{children:"项ç®ä¸»è¦ç®å½å¦ä¸ï¼"}),"\n",(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(e.pre,{className:"shiki css-variables",style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0",lang:"text",fold:!0,height:"420",children:(0,l.jsxs)(e.code,{children:[(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{children:"taroify"})}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{children:"ââ bundles # æå»º"})}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{children:"ââ packages/core # ç»ä»¶"})}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{children:"ââ packages # åå
"})}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{children:"ââ site # ææ¡£"})}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{children:"ââ scripts # èæ¬"})})]})})}),"\n",(0,l.jsxs)(e.h3,{id:"æ·»å æ°ç»ä»¶",children:[(0,l.jsx)(e.a,{className:"rp-header-anchor","aria-hidden":"true",href:"#æ·»å æ°ç»ä»¶",children:"#"}),"æ·»å æ°ç»ä»¶"]}),"\n",(0,l.jsx)(e.p,{children:"æ·»å æ°ç»ä»¶æ¶ï¼è¯·æç
§ä¸é¢çç®å½ç»æç»ç»æä»¶ã"}),"\n",(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(e.pre,{className:"shiki css-variables",style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0",lang:"text",fold:!0,height:"420",children:(0,l.jsxs)(e.code,{children:[(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{children:"src"})}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{children:"ââ button"})}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{children:" ââ __tests__ # åå
æµè¯"})}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{children:" ââ variables.scss # ç»ä»¶æ ·å¼åé"})}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{children:" ââ button.tsx # å
·åç»ä»¶"})}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{children:" ââ button.scss # ç»ä»¶æ ·å¼"})}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{children:" ââ index.ts # ç»ä»¶å
¥å£"})}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{children:" ââ index.scss # ç»ä»¶æ ·å¼å
¥å£"})})]})})}),"\n",(0,l.jsxs)(e.h2,{id:"æäº¤-pr",children:[(0,l.jsx)(e.a,{className:"rp-header-anchor","aria-hidden":"true",href:"#æäº¤-pr",children:"#"}),"æäº¤ PR"]}),"\n",(0,l.jsxs)(e.h3,{id:"pull-request-è§è",children:[(0,l.jsx)(e.a,{className:"rp-header-anchor","aria-hidden":"true",href:"#pull-request-è§è",children:"#"}),"Pull Request è§è"]}),"\n",(0,l.jsxs)(e.ul,{children:["\n",(0,l.jsx)(e.li,{children:"妿éå°é®é¢ï¼å»ºè®®ä¿æä½ ç PR è¶³å¤å°ãä¿è¯ä¸ä¸ª PR åªè§£å³ä¸ä¸ªé®é¢æåªæ·»å ä¸ä¸ªåè½"}),"\n",(0,l.jsx)(e.li,{children:"彿°å¢ç»ä»¶æè
ä¿®æ¹åæç»ä»¶æ¶ï¼è®°å¾å¢å æè
ä¿®æ¹æµè¯ä»£ç ï¼ä¿è¯ä»£ç ç稳å®"}
1),"\n",(0,l.jsx)(e.li,{children:"å¨ PR ä¸è¯·æ·»å åéçæè¿°ï¼å¹¶å
³èç¸å
³ç Issue"}),"\n"]}),"\n",(0,l.jsxs)(e.h3,{id:"pull-request-æµç¨",children:[(0,l.jsx)(e.a,{className:"rp-header-anchor","aria-hidden":"true",href:"#pull-request-æµç¨",children:"#"}),"Pull Request æµç¨"]}),"\n",(0,l.jsxs)(e.ol,{children:["\n",(0,l.jsx)(e.li,{children:"fork 主ä»åºï¼å¦æå·²ç» fork è¿ï¼è¯·åæ¥ä¸»ä»åºçææ°ä»£ç "}),"\n",(0,l.jsxs)(e.li,{children:["åºäº fork åä»åºç main 忝æ°å»ºä¸ä¸ªåæ¯ï¼æ¯å¦",(0,l.jsx)(e.code,{children:"feature/button-color"})]}),"\n",(0,l.jsx)(e.li,{children:"卿°åæ¯ä¸è¿è¡å¼åï¼å¼å宿åï¼æ Pull Request å°ä¸»ä»åºç dev 忝"}),"\n",(0,l.jsx)(e.li,{children:"Pull Request ä¼å¨ Review éè¿å被åå¹¶å°ä¸»ä»åº"}),"\n",(0,l.jsx)(e.li,{children:"çå¾
Taroify åå¸çæ¬ï¼ä¸è¬æ¯æ¯å¨ä¸æ¬¡"}),"\n"]}),"\n",(0,l.jsxs)(e.h3,{id:"åæ¥ææ°ä»£ç ",children:[(0,l.jsx)(e.a,{className:"rp-header-anchor","aria-hidden":"true",href:"#åæ¥ææ°ä»£ç ",children:"#"}),"åæ¥ææ°ä»£ç "]}),"\n",(0,l.jsx)(e.p,{children:"æ Pull Request åï¼è¯·ä¾ç
§ä¸é¢çæµç¨åæ¥ä¸»ä»åºçææ°ä»£ç ï¼"}),"\n",(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(e.pre,{className:"shiki css-variables",style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0",lang:"bash",fold:!0,height:"420",children:(0,l.jsxs)(e.code,{children:[(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"# æ·»å 主ä»åºå° remoteï¼ä½ä¸º fork åä»åºç䏿¸¸ä»åº"})}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"git"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:" remote"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:" add"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:" upstream"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:" https://github.com/taroify/taroify.git"})]}),"\n",(0,l.jsx)(e.span,{className:"line"}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"# æå主ä»åºææ°ä»£ç "})}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"git"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:" fetch"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:" upstream"})]}),"\n",(0,l.jsx)(e.span,{className:"line"}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"# åæ¢è³ dev 忝"})}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"git"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:" checkout"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:" main"})]}),"\n",(0,l.jsx)(e.span,{className:"line"}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"# å并主ä»åºä»£ç "})}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"git"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:" merge"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:" upstream/main"})]})]})})})]})}function h(){var s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=(0,i._)({},(0,a.R)(),s.components).wrapper;return e?(0,l.jsx)(e,(0,r._)((0,i._)({},s),{children:(0,l.jsx)(c,(0,i._)({},s))})):c(s)}h.__RSPRESS_PAGE_META={},h.__RSPRESS_PAGE_META["contribution%2Findex.md"]={toc:[{id:"ä»ç»",text:"ä»ç»",depth:3},{id:"issue-è§è",text:"Issue è§è",depth:3},{id:"åä¸å¼å",text:"åä¸å¼å",depth:2},{id:"æ¬å°å¼å",text:"æ¬å°å¼å",depth:3},{id:"ç®å½ç»æ",text:"ç®å½ç»æ",depth:3},{id:"æ·»å æ°ç»ä»¶",text:"æ·»å æ°ç»ä»¶",depth:3},{id:"æäº¤-pr",text:"æäº¤ PR",depth:2},{id:"pull-request-è§è",text:"Pull Request è§è",depth:3},{id:"pull-request-æµç¨",text:"Pull Request æµç¨",depth:3},{id:"åæ¥ææ°ä»£ç ",text:"åæ¥ææ°ä»£ç ",depth:3}],title:"å¼åæå",headingTitle:"å¼åæå",frontmatter:{title:"å¼åæå",description:"卿¬å°å¼åãè°è¯ãæµè¯å¹¶åä¸ Taroify 项ç®è´¡ç®ã",pageType:"doc"}},n.d(e,{default:function(){return h}})}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.