{"componentChunkName":"component---src-templates-docs-tsx","path":"/docs/getting-started","webpackCompilationHash":"1daf920fd56dc476eb98","result":{"data":{"markdownRemark":{"html":"<h2 id=\"前序准备\">前序准备<a href=\"#%E5%89%8D%E5%BA%8F%E5%87%86%E5%A4%87\" aria-hidden class=\"anchor\">#</a></h2>\n<p>你的本地环境需要安装 <a href=\"https://yarnpkg.com\">yarn</a>、<a href=\"http://nodejs.org/\">node</a> 和 <a href=\"https://git-scm.com/\">git</a>。</p>\n<h2 id=\"安装\">安装<a href=\"#%E5%AE%89%E8%A3%85\" aria-hidden class=\"anchor\">#</a></h2>\n<div class=\"gatsby-highlight\" data-language=\"text\"><pre class=\"language-text\"><code class=\"language-text\">// yarn\nyarn add @alitajs/antd-plus\n\n// npm\nnpm install -D @alitajs/antd-plus</code></pre></div>\n<h2 id=\"使用\">使用<a href=\"#%E4%BD%BF%E7%94%A8\" aria-hidden class=\"anchor\">#</a></h2>\n<div class=\"gatsby-highlight\" data-language=\"text\"><pre class=\"language-text\"><code class=\"language-text\">import React form &#39;react&#39;;\nimport { SendCode } form &#39;@alitajs/antd-plus&#39;;\n\nclass Example extends React.Component {\n  render() {\n    return (\n      &lt;div&gt;\n        &lt;SendCode /&gt;\n      &lt;/div&gt;\n    )\n  }\n}</code></pre></div>","tableOfContents":"<ul>\n<li><a href=\"/docs/getting-started/#%E5%89%8D%E5%BA%8F%E5%87%86%E5%A4%87\">前序准备</a></li>\n<li><a href=\"/docs/getting-started/#%E5%AE%89%E8%A3%85\">安装</a></li>\n<li><a href=\"/docs/getting-started/#%E4%BD%BF%E7%94%A8\">使用</a></li>\n</ul>","frontmatter":{"title":{"zh_CN":"开始使用","en_US":"开始使用"},"order":0,"type":"Getting Started"},"fields":{"path":"/docs/getting-started.en-US.md","slug":"/docs/getting-started","modifiedTime":1576230292800,"avatarList":[{"href":"/wangxingkang","text":"wangxingkang","src":"https://avatars1.githubusercontent.com/u/14227679?s=40&v=4"}]}},"allMarkdownRemark":{"edges":[{"node":{"frontmatter":{"title":{"zh_CN":"国际化","en_US":"国际化"},"order":4,"type":"入门","time":null},"fields":{"slug":"/docs/i18n-cn","path":"/docs/i18n.zh-CN.md"}}},{"node":{"frontmatter":{"title":{"zh_CN":"Globalization","en_US":"Globalization"},"order":4,"type":"Getting Started","time":null},"fields":{"slug":"/docs/i18n","path":"/docs/i18n.en-US.md"}}},{"node":{"frontmatter":{"title":{"zh_CN":"开始使用","en_US":"开始使用"},"order":0,"type":"入门","time":"2019-07-19T00:00:00.000Z"},"fields":{"slug":"/docs/getting-started-cn","path":"/docs/getting-started.zh-CN.md"}}},{"node":{"frontmatter":{"title":{"zh_CN":"开始使用","en_US":"开始使用"},"order":0,"type":"Getting Started","time":"2019-07-19T00:00:00.000Z"},"fields":{"slug":"/docs/getting-started","path":"/docs/getting-started.en-US.md"}}},{"node":{"frontmatter":{"title":{"zh_CN":"常见问题","en_US":"常见问题"},"order":2,"type":"入门","time":null},"fields":{"slug":"/docs/faq-cn","path":"/docs/faq.zh-CN.md"}}},{"node":{"frontmatter":{"title":{"zh_CN":"常见问题","en_US":"常见问题"},"order":2,"type":"Getting Started","time":null},"fields":{"slug":"/docs/faq","path":"/docs/faq.en-US.md"}}},{"node":{"frontmatter":{"title":{"zh_CN":"贡献指南","en_US":"贡献指南"},"order":3,"type":"入门","time":null},"fields":{"slug":"/docs/contributing-cn","path":"/docs/contributing.zh-CN.md"}}},{"node":{"frontmatter":{"title":{"zh_CN":"贡献指南","en_US":"贡献指南"},"order":3,"type":"Getting Started","time":null},"fields":{"slug":"/docs/contributing","path":"/docs/contributing.en-US.md"}}},{"node":{"frontmatter":{"title":{"zh_CN":"Commit信息规范","en_US":"Commit信息规范"},"order":1,"type":"规范説明","time":null},"fields":{"slug":"/docs/commit-lint-cn","path":"/docs/commit-lint.zh-CN.md"}}},{"node":{"frontmatter":{"title":{"zh_CN":"Commit信息规范","en_US":"Commit信息规范"},"order":1,"type":"Specification","time":null},"fields":{"slug":"/docs/commit-lint","path":"/docs/commit-lint.en-US.md"}}}]}},"pageContext":{"isCreatedByStatefulCreatePages":false,"slug":"/docs/getting-started","demo":"/getting-started/demo/"}}}