mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-04 01:09:20 +02:00
parent
a8557f46ca
commit
8f1a6fbd6c
212 changed files with 552 additions and 502 deletions
|
@ -125,7 +125,7 @@
|
|||
<p>根据 <a href="#installing-docusaurus">Installation</a> 部分所述运行完 Docusaurus 的初始化脚本 <code>docusaurus-init</code> 后,你将会有一个可运行的基础示例网站。 To run:</p>
|
||||
<ol>
|
||||
<li><p><code>cd website</code></p></li>
|
||||
<li><p>From within the <code>website</code> directory, run the local webserver using <code>yarn start</code> or <code>npm start</code>.</p></li>
|
||||
<li><p>From within the <code>website</code> directory, run the local web server using <code>yarn start</code> or <code>npm start</code>.</p></li>
|
||||
<li><p>如果没有自动打开本地的示例网站,请在 <a href="http://localhost:3000">http://localhost:3000</a> 访问示例站点。 If port 3000 has already been taken, another port will be used. Look at the console messages to see which.</p>
|
||||
<p>You should see the example site loaded in your web browser. There's also a LiveReload server running and any changes made to the docs and files in the <code>website</code> directory will cause the page to refresh. A randomly generated primary and secondary theme color will be picked for you.</p></li>
|
||||
</ol>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue