{"version":3,"sources":["webpack:///./docs/zh/README.MD"],"names":["makeShortcode","name","MDXDefaultShortcode","props","console","warn","layoutProps","MDXLayout","MDXContent","components","isMDXComponent","hot","module"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA;AACA;AACA;AACA;AAEA;;AAGA,IAAMA,aAAa,GAAG,SAAhBA,aAAgB,CAAAC,IAAI;AAAA,SAAI,SAASC,mBAAT,CAA6BC,KAA7B,EAAoC;AAChEC,WAAO,CAACC,IAAR,CAAa,eAAeJ,IAAf,GAAsB,yEAAnC;AACA,WAAO,iEAASE,KAAT,CAAP;AACD,GAHyB;AAAA,CAA1B;;AAKA,IAAMG,WAAW,GAAG,EAApB;AAGA,IAAMC,SAAS,GAAG,SAAlB;AACe,SAASC,UAAT,OAGZ;AAAA,MAFDC,UAEC,QAFDA,UAEC;AAAA,MADEN,KACF;;AACD,SAAO,0DAAC,SAAD,eAAeG,WAAf,EAAgCH,KAAhC;AAAuC,cAAU,EAAEM,UAAnD;AAA+D,WAAO,EAAC;AAAvE,MACL,gEAAQ;AACN,iBAAa,YADP;AAEN,UAAM;AAFA,GAAR,8BAGW;AAAG,cAAU,EAAC;AAAd,KAAuB;AAC9B,YAAQ,uCADsB;AAE9B,mBAAe,IAFe;AAG9B,iBAAa;AAHiB,GAAvB,OAHX,CADK,EASL,gEAAQ;AACN,iBAAa,YADP;AAEN,UAAM;AAFA,GAAR,kBAGS;AAAG,cAAU,EAAC;AAAd,KAAuB;AAC5B,YAAQ,qBADoB;AAE5B,mBAAe,IAFa;AAG5B,iBAAa;AAHe,GAAvB,OAHT,CATK,EAiBL,sFAAU;AAAG,cAAU,EAAC;AAAd,KAAsB;AAC5B,YAAQ,qBADoB;AAE5B,cAAU;AAFkB,GAAtB,UAAV,mBAGwB;AAAY,cAAU,EAAC;AAAvB,mBAHxB,CAjBK,EAqBL,iEAAS;AACP,iBAAa,mBADN;AAEP,qBAAiB;AAFV,GAAT,EAGG;AAAK,cAAU,EA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AD,CAAH,CAAYJ,UAAZ,CAAb;;;;;;;;;;0BA3IMR,a;0BAKAM,W;0BAGAC,S;0BACkBC,U","file":"zh/README.MD.server-bundle.js","sourcesContent":["\nimport { hot } from 'react-hot-loader'; \nimport '@temp//rhlConfig';\nimport React from 'react';\nimport { mdx } from '@mdx-js/react'; \n\n/* @jsx mdx */\n\n\nconst makeShortcode = name => function MDXDefaultShortcode(props) {\n  console.warn(\"Component \" + name + \" was not imported, exported, or provided by MDXProvider as global scope\")\n  return <div {...props}/>\n};\n\nconst layoutProps = {\n  \n};\nconst MDXLayout = \"wrapper\"\nexport default function MDXContent({\n  components,\n  ...props\n}) {\n  return <MDXLayout {...layoutProps} {...props} components={components} mdxType=\"MDXLayout\">\n    <h1 {...{\n      \"className\": \"__internal\",\n      \"id\": \"开始上手\"\n    }}>{`开始上手`}<a parentName=\"h1\" {...{\n        \"href\": \"#%E5%BC%80%E5%A7%8B%E4%B8%8A%E6%89%8B\",\n        \"aria-hidden\": true,\n        \"className\": \"anchor\"\n      }}>{`#`}</a></h1>\n    <h2 {...{\n      \"className\": \"__internal\",\n      \"id\": \"安装\"\n    }}>{`安装`}<a parentName=\"h2\" {...{\n        \"href\": \"#%E5%AE%89%E8%A3%85\",\n        \"aria-hidden\": true,\n        \"className\": \"anchor\"\n      }}>{`#`}</a></h2>\n    <p>{`使用 `}<a parentName=\"p\" {...{\n        \"href\": \"https://yarnpkg.com\",\n        \"target\": \"_blank\"\n      }}>{`yarn`}</a>{` 安装`}<inlineCode parentName=\"p\">{`rcpress-cli`}</inlineCode></p>\n    <div {...{\n      \"className\": \"rcpress-highlight\",\n      \"data-language\": \"bash\"\n    }}><pre parentName=\"div\" {...{\n        \"className\": \"language-bash\"\n      }}><code parentName=\"pre\" {...{\n          \"className\": \"language-bash\"\n        }}><span parentName=\"code\" {...{\n            \"className\": \"token function\"\n          }}>{`yarn`}</span>{` global `}<span parentName=\"code\" {...{\n            \"className\": \"token function\"\n          }}>{`add`}</span>{` @rcpress/cli`}</code></pre></div>\n    <p>{`或者使用`}<a parentName=\"p\" {...{\n        \"href\": \"https://docs.npmjs.com/cli/install.html\",\n        \"target\": \"_blank\"\n      }}>{`npm`}</a>{` 安装`}</p>\n    <div {...{\n      \"className\": \"rcpress-highlight\",\n      \"data-language\": \"bash\"\n    }}><pre parentName=\"div\" {...{\n        \"className\": \"language-bash\"\n      }}><code parentName=\"pre\" {...{\n          \"className\": \"language-bash\"\n        }}><span parentName=\"code\" {...{\n            \"className\": \"token function\"\n          }}>{`npm`}</span>{` `}<span parentName=\"code\" {...{\n            \"className\": \"token function\"\n          }}>{`install`}</span>{` @rcpress/cli -g`}</code></pre></div>\n    <h2 {...{\n      \"className\": \"__internal\",\n      \"id\": \"用法\"\n    }}>{`用法`}<a parentName=\"h2\" {...{\n        \"href\": \"#%E7%94%A8%E6%B3%95\",\n        \"aria-hidden\": true,\n        \"className\": \"anchor\"\n      }}>{`#`}</a></h2>\n    <p>{`创建目录以及文件`}</p>\n    <div {...{\n      \"className\": \"rcpress-highlight\",\n      \"data-language\": \"bash\"\n    }}><pre parentName=\"div\" {...{\n        \"className\": \"language-bash\"\n      }}><code parentName=\"pre\" {...{\n          \"className\": \"language-bash\"\n        }}><span parentName=\"code\" {...{\n            \"className\": \"token comment\"\n          }}>{`# 创建 docs 目录(docs是默认的文档目录)`}</span>{`\n`}<span parentName=\"code\" {...{\n            \"className\": \"token function\"\n          }}>{`mkdir`}</span>{` docs\n\n`}<span parentName=\"code\" {...{\n            \"className\": \"token comment\"\n          }}>{`#创建markdown文件`}</span>{`\n`}<span parentName=\"code\" {...{\n            \"className\": \"token builtin class-name\"\n          }}>{`echo`}</span>{` `}<span parentName=\"code\" {...{\n            \"className\": \"token string\"\n          }}>{`'# Hello RcPress'`}</span>{` `}<span parentName=\"code\" {...{\n            \"className\": \"token operator\"\n          }}>{`>`}</span>{` docs/README.md\n`}</code></pre></div>\n    <p>{`运行`}</p>\n    <div {...{\n      \"className\": \"rcpress-highlight\",\n      \"data-language\": \"bash\"\n    }}><pre parentName=\"div\" {...{\n        \"className\": \"language-bash\"\n      }}><code parentName=\"pre\" {...{\n          \"className\": \"language-bash\"\n        }}>{`\n`}<span parentName=\"code\" {...{\n            \"className\": \"token comment\"\n          }}>{`# 启动spa模式的服务`}</span>{`\nrcpress dev\n`}<span parentName=\"code\" {...{\n            \"className\": \"token comment\"\n          }}>{`# 启动服务端渲染的服务`}</span>{`\nrcpress server\n\n`}<span parentName=\"code\" {...{\n            \"className\": \"token comment\"\n          }}>{`# 访问默认的地址 \\`localhost:3000\\` 即可看到效果页面`}</span></code></pre></div>\n    <p>{`打包构建`}</p>\n    <div {...{\n      \"className\": \"rcpress-highlight\",\n      \"data-language\": \"bash\"\n    }}><pre parentName=\"div\" {...{\n        \"className\": \"language-bash\"\n      }}><code parentName=\"pre\" {...{\n          \"className\": \"language-bash\"\n        }}><span parentName=\"code\" {...{\n            \"className\": \"token comment\"\n          }}>{`# 在生产环境下构建spa`}</span>{`\nrcpress build\n`}<span parentName=\"code\" {...{\n            \"className\": \"token comment\"\n          }}>{`# 在生产环境下构建ssr并且声称静态html文件`}</span>{`\nrcpress generate`}</code></pre></div>\n    </MDXLayout>;\n}\n\n;\nMDXContent.isMDXComponent = true;\n\nMDXContent = hot(module)(MDXContent);\n"],"sourceRoot":""}