CLI Commands
Docusaurus 提供了一组脚本来帮助您生成、服务和配置您的网站。 使用 Yarn 或 npm 时, 可以使用 run 命令调用这些脚本。 一些常见的命令如下:
-
-
-
yarn run star: 从本地服务器生成并且维护这个网站
+ -
yarn run start: 从本地服务器生成并且维护这个网站 -
yarn run examples: 创建示例配置文件
diff --git a/about-slash.html b/about-slash.html index e4aed23709..57bbb86928 100644 --- a/about-slash.html +++ b/about-slash.html @@ -28,7 +28,7 @@ /docs/en/installation">Getting StartedVersioningLocalizationAdding Search
Docusaurus 提供了一组脚本来帮助您生成、服务和配置您的网站。 使用 Yarn 或 npm 时, 可以使用 run 命令调用这些脚本。 一些常见的命令如下:
yarn run star : 从本地服务器生成并且维护这个网站yarn run start : 从本地服务器生成并且维护这个网站yarn run examples : 创建示例配置文件Docusaurus 提供了一组脚本来帮助您生成、服务和配置您的网站。 使用 Yarn 或 npm 时, 可以使用 run 命令调用这些脚本。 一些常见的命令如下:
yarn run star : 从本地服务器生成并且维护这个网站yarn run start : 从本地服务器生成并且维护这个网站yarn run examples : 创建示例配置文件Docusaurus 提供了一组脚本来帮助您生成、服务和配置您的网站。 使用 Yarn 或 npm 时, 可以使用 run 命令调用这些脚本。 一些常见的命令如下:
yarn run star : 从本地服务器生成并且维护这个网站yarn run start : 从本地服务器生成并且维护这个网站yarn run examples : 创建示例配置文件Docusaurus 提供了一组脚本来帮助您生成、服务和配置您的网站。 使用 Yarn 或 npm 时, 可以使用 run 命令调用这些脚本。 一些常见的命令如下:
yarn run star : 从本地服务器生成并且维护这个网站yarn run start : 从本地服务器生成并且维护这个网站yarn run examples : 创建示例配置文件Docusaurus provides support for writing pages as React components inside the website/pages directory which will share the same header, footer, and styles as the rest of the site.
Docusaurus支持在website/pages文件夹内将页面编写为React组件,该文件夹将会和网站的其他部分共享相同的页眉,页脚和样式。
Docusaurus provides your siteConfig.js as a config props. Hence, you can access baseUrl or title through this props.
示例
@@ -253,7 +253,7 @@ MyPage.description = 'My Custom Description'; /docs/zh-CN/installation">Getting StartedVersioningLocalizationAdding SearchDocusaurus provides support for writing pages as React components inside the website/pages directory which will share the same header, footer, and styles as the rest of the site.
Docusaurus支持在website/pages文件夹内将页面编写为React组件,该文件夹将会和网站的其他部分共享相同的页眉,页脚和样式。
Docusaurus provides your siteConfig.js as a config props. Hence, you can access baseUrl or title through this props.
示例
@@ -253,7 +253,7 @@ MyPage.description = 'My Custom Description'; /docs/zh-CN/installation">Getting StartedVersioningLocalizationAdding SearchDocusaurus 提供了一组脚本来帮助您生成、服务和配置您的网站。 使用 Yarn 或 npm 时, 可以使用 run 命令调用这些脚本。 一些常见的命令如下:
yarn run star : 从本地服务器生成并且维护这个网站yarn run start : 从本地服务器生成并且维护这个网站yarn run examples : 创建示例配置文件Docusaurus 提供了一组脚本来帮助您生成、服务和配置您的网站。 使用 Yarn 或 npm 时, 可以使用 run 命令调用这些脚本。 一些常见的命令如下:
yarn run star : 从本地服务器生成并且维护这个网站yarn run start : 从本地服务器生成并且维护这个网站yarn run examples : 创建示例配置文件Docusaurus provides support for writing pages as React components inside the website/pages directory which will share the same header, footer, and styles as the rest of the site.
Docusaurus支持在website/pages文件夹内将页面编写为React组件,该文件夹将会和网站的其他部分共享相同的页眉,页脚和样式。
Docusaurus provides your siteConfig.js as a config props. Hence, you can access baseUrl or title through this props.
示例
@@ -253,7 +253,7 @@ MyPage.description = 'My Custom Description'; /docs/zh-CN/installation">Getting StartedVersioningLocalizationAdding SearchDocusaurus provides support for writing pages as React components inside the website/pages directory which will share the same header, footer, and styles as the rest of the site.
Docusaurus支持在website/pages文件夹内将页面编写为React组件,该文件夹将会和网站的其他部分共享相同的页眉,页脚和样式。
Docusaurus provides your siteConfig.js as a config props. Hence, you can access baseUrl or title through this props.
示例
@@ -253,7 +253,7 @@ MyPage.description = 'My Custom Description'; /docs/zh-CN/installation">Getting StartedVersioningLocalizationAdding SearchDocusaurus 提供了一组脚本来帮助您生成、服务和配置您的网站。 使用 Yarn 或 npm 时, 可以使用 run 命令调用这些脚本。 一些常见的命令如下:
yarn run star : 从本地服务器生成并且维护这个网站yarn run start : 从本地服务器生成并且维护这个网站yarn run examples : 创建示例配置文件Docusaurus 提供了一组脚本来帮助您生成、服务和配置您的网站。 使用 Yarn 或 npm 时, 可以使用 run 命令调用这些脚本。 一些常见的命令如下:
yarn run star : 从本地服务器生成并且维护这个网站yarn run start : 从本地服务器生成并且维护这个网站yarn run examples : 创建示例配置文件Docusaurus provides support for writing pages as React components inside the website/pages directory which will share the same header, footer, and styles as the rest of the site.
Docusaurus支持在website/pages文件夹内将页面编写为React组件,该文件夹将会和网站的其他部分共享相同的页眉,页脚和样式。
Any .js files in website/pages will be rendered to static HTML using the path of the file after pages. website/pages/en中的文件也将会被复制到pages中并且会覆盖pages中的任何同名文件。 For example, the page for the website/pages/en/help.js file will be found at the URL ${baseUrl}en/help.js as well as the URL ${baseUrl}help.js, where ${baseUrl} is the baseUrl field set in your siteConfig.js file.
Docusaurus provides support for writing pages as React components inside the website/pages directory which will share the same header, footer, and styles as the rest of the site.
Docusaurus支持在website/pages文件夹内将页面编写为React组件,该文件夹将会和网站的其他部分共享相同的页眉,页脚和样式。
Any .js files in website/pages will be rendered to static HTML using the path of the file after pages. website/pages/en中的文件也将会被复制到pages中并且会覆盖pages中的任何同名文件。 For example, the page for the website/pages/en/help.js file will be found at the URL ${baseUrl}en/help.js as well as the URL ${baseUrl}help.js, where ${baseUrl} is the baseUrl field set in your siteConfig.js file.
Docusaurus 提供了一组脚本来帮助您生成、服务和配置您的网站。 使用 Yarn 或 npm 时, 可以使用 run 命令调用这些脚本。 一些常见的命令如下:
yarn run star : 从本地服务器生成并且维护这个网站yarn run start : 从本地服务器生成并且维护这个网站yarn run examples : 创建示例配置文件Docusaurus 提供了一组脚本来帮助您生成、服务和配置您的网站。 使用 Yarn 或 npm 时, 可以使用 run 命令调用这些脚本。 一些常见的命令如下:
yarn run star : 从本地服务器生成并且维护这个网站yarn run start : 从本地服务器生成并且维护这个网站yarn run examples : 创建示例配置文件Docusaurus provides support for writing pages as React components inside the website/pages directory which will share the same header, footer, and styles as the rest of the site.
Docusaurus支持在website/pages文件夹内将页面编写为React组件,该文件夹将会和网站的其他部分共享相同的页眉,页脚和样式。
Any .js files in website/pages will be rendered to static HTML using the path of the file after pages. website/pages/en中的文件也将会被复制到pages中并且会覆盖pages中的任何同名文件。 For example, the page for the website/pages/en/help.js file will be found at the URL ${baseUrl}en/help.js as well as the URL ${baseUrl}help.js, where ${baseUrl} is the baseUrl field set in your siteConfig.js file.
Docusaurus provides support for writing pages as React components inside the website/pages directory which will share the same header, footer, and styles as the rest of the site.
Docusaurus支持在website/pages文件夹内将页面编写为React组件,该文件夹将会和网站的其他部分共享相同的页眉,页脚和样式。
Any .js files in website/pages will be rendered to static HTML using the path of the file after pages. website/pages/en中的文件也将会被复制到pages中并且会覆盖pages中的任何同名文件。 For example, the page for the website/pages/en/help.js file will be found at the URL ${baseUrl}en/help.js as well as the URL ${baseUrl}help.js, where ${baseUrl} is the baseUrl field set in your siteConfig.js file.
Docusaurus 提供了一组脚本来帮助您生成、服务和配置您的网站。 使用 Yarn 或 npm 时, 可以使用 run 命令调用这些脚本。 一些常见的命令如下:
yarn run star : 从本地服务器生成并且维护这个网站yarn run start : 从本地服务器生成并且维护这个网站yarn run examples : 创建示例配置文件Docusaurus 提供了一组脚本来帮助您生成、服务和配置您的网站。 使用 Yarn 或 npm 时, 可以使用 run 命令调用这些脚本。 一些常见的命令如下:
yarn run star : 从本地服务器生成并且维护这个网站yarn run start : 从本地服务器生成并且维护这个网站yarn run examples : 创建示例配置文件Docusaurus provides support for writing pages as React components inside the website/pages directory which will share the same header, footer, and styles as the rest of the site.
Docusaurus支持在website/pages文件夹内将页面编写为React组件,该文件夹将会和网站的其他部分共享相同的页眉,页脚和样式。
Any .js files in website/pages will be rendered to static HTML using the path of the file after pages. website/pages/en中的文件也将会被复制到pages中并且会覆盖pages中的任何同名文件。 For example, the page for the website/pages/en/help.js file will be found at the URL ${baseUrl}en/help.js as well as the URL ${baseUrl}help.js, where ${baseUrl} is the baseUrl field set in your siteConfig.js file.
Docusaurus provides support for writing pages as React components inside the website/pages directory which will share the same header, footer, and styles as the rest of the site.
Docusaurus支持在website/pages文件夹内将页面编写为React组件,该文件夹将会和网站的其他部分共享相同的页眉,页脚和样式。
Any .js files in website/pages will be rendered to static HTML using the path of the file after pages. website/pages/en中的文件也将会被复制到pages中并且会覆盖pages中的任何同名文件。 For example, the page for the website/pages/en/help.js file will be found at the URL ${baseUrl}en/help.js as well as the URL ${baseUrl}help.js, where ${baseUrl} is the baseUrl field set in your siteConfig.js file.
Docusaurus 提供了一组脚本来帮助您生成、服务和配置您的网站。 使用 Yarn 或 npm 时, 可以使用 run 命令调用这些脚本。 一些常见的命令如下:
yarn run star : 从本地服务器生成并且维护这个网站yarn run start : 从本地服务器生成并且维护这个网站yarn run examples : 创建示例配置文件Docusaurus 提供了一组脚本来帮助您生成、服务和配置您的网站。 使用 Yarn 或 npm 时, 可以使用 run 命令调用这些脚本。 一些常见的命令如下:
yarn run star : 从本地服务器生成并且维护这个网站yarn run start : 从本地服务器生成并且维护这个网站yarn run examples : 创建示例配置文件Docusaurus provides support for writing pages as React components inside the website/pages directory which will share the same header, footer, and styles as the rest of the site.
Docusaurus支持在website/pages文件夹内将页面编写为React组件,该文件夹将会和网站的其他部分共享相同的页眉,页脚和样式。
Any .js files in website/pages will be rendered to static HTML using the path of the file after pages. website/pages/en中的文件也将会被复制到pages中并且会覆盖pages中的任何同名文件。 For example, the page for the website/pages/en/help.js file will be found at the URL ${baseUrl}en/help.js as well as the URL ${baseUrl}help.js, where ${baseUrl} is the baseUrl field set in your siteConfig.js file.
Docusaurus provides support for writing pages as React components inside the website/pages directory which will share the same header, footer, and styles as the rest of the site.
Docusaurus支持在website/pages文件夹内将页面编写为React组件,该文件夹将会和网站的其他部分共享相同的页眉,页脚和样式。
Any .js files in website/pages will be rendered to static HTML using the path of the file after pages. website/pages/en中的文件也将会被复制到pages中并且会覆盖pages中的任何同名文件。 For example, the page for the website/pages/en/help.js file will be found at the URL ${baseUrl}en/help.js as well as the URL ${baseUrl}help.js, where ${baseUrl} is the baseUrl field set in your siteConfig.js file.
Docusaurus 提供了一组脚本来帮助您生成、服务和配置您的网站。 使用 Yarn 或 npm 时, 可以使用 run 命令调用这些脚本。 一些常见的命令如下:
yarn run star : 从本地服务器生成并且维护这个网站yarn run start : 从本地服务器生成并且维护这个网站yarn run examples : 创建示例配置文件Docusaurus 提供了一组脚本来帮助您生成、服务和配置您的网站。 使用 Yarn 或 npm 时, 可以使用 run 命令调用这些脚本。 一些常见的命令如下:
yarn run star : 从本地服务器生成并且维护这个网站yarn run start : 从本地服务器生成并且维护这个网站yarn run examples : 创建示例配置文件Docusaurus provides support for writing pages as React components inside the website/pages directory which will share the same header, footer, and styles as the rest of the site.
Docusaurus支持在website/pages文件夹内将页面编写为React组件,该文件夹将会和网站的其他部分共享相同的页眉,页脚和样式。
Docusaurus provides your siteConfig.js as a config props. Hence, you can access baseUrl or title through this props.
示例
@@ -252,7 +252,7 @@ MyPage.description = 'My Custom Description'; /docs/zh-CN/installation">Getting StartedVersioningLocalizationAdding SearchDocusaurus provides support for writing pages as React components inside the website/pages directory which will share the same header, footer, and styles as the rest of the site.
Docusaurus支持在website/pages文件夹内将页面编写为React组件,该文件夹将会和网站的其他部分共享相同的页眉,页脚和样式。
Docusaurus provides your siteConfig.js as a config props. Hence, you can access baseUrl or title through this props.
示例
@@ -252,7 +252,7 @@ MyPage.description = 'My Custom Description'; /docs/zh-CN/installation">Getting StartedVersioningLocalizationAdding SearchDocusaurus 提供了一组脚本来帮助您生成、服务和配置您的网站。 使用 Yarn 或 npm 时, 可以使用 run 命令调用这些脚本。 一些常见的命令如下:
yarn run star : 从本地服务器生成并且维护这个网站yarn run start : 从本地服务器生成并且维护这个网站yarn run examples : 创建示例配置文件Docusaurus 提供了一组脚本来帮助您生成、服务和配置您的网站。 使用 Yarn 或 npm 时, 可以使用 run 命令调用这些脚本。 一些常见的命令如下:
yarn run star : 从本地服务器生成并且维护这个网站yarn run start : 从本地服务器生成并且维护这个网站yarn run examples : 创建示例配置文件Docusaurus provides support for writing pages as React components inside the website/pages directory which will share the same header, footer, and styles as the rest of the site.
Docusaurus支持在website/pages文件夹内将页面编写为React组件,该文件夹将会和网站的其他部分共享相同的页眉,页脚和样式。
Docusaurus provides your siteConfig.js as a config props. Hence, you can access baseUrl or title through this props.
示例
@@ -252,7 +252,7 @@ MyPage.description = 'My Custom Description'; /docs/zh-CN/installation">Getting StartedVersioningLocalizationAdding SearchDocusaurus provides support for writing pages as React components inside the website/pages directory which will share the same header, footer, and styles as the rest of the site.
Docusaurus支持在website/pages文件夹内将页面编写为React组件,该文件夹将会和网站的其他部分共享相同的页眉,页脚和样式。
Docusaurus provides your siteConfig.js as a config props. Hence, you can access baseUrl or title through this props.
示例
@@ -252,7 +252,7 @@ MyPage.description = 'My Custom Description'; /docs/zh-CN/installation">Getting StartedVersioningLocalizationAdding SearchDocusaurus 提供了一组脚本来帮助您生成、服务和配置您的网站。 使用 Yarn 或 npm 时, 可以使用 run 命令调用这些脚本。 一些常见的命令如下:
yarn run star : 从本地服务器生成并且维护这个网站yarn run start : 从本地服务器生成并且维护这个网站yarn run examples : 创建示例配置文件Docusaurus 提供了一组脚本来帮助您生成、服务和配置您的网站。 使用 Yarn 或 npm 时, 可以使用 run 命令调用这些脚本。 一些常见的命令如下:
yarn run star : 从本地服务器生成并且维护这个网站yarn run start : 从本地服务器生成并且维护这个网站yarn run examples : 创建示例配置文件Docusaurus provides support for writing pages as React components inside the website/pages directory which will share the same header, footer, and styles as the rest of the site.
Docusaurus支持在website/pages文件夹内将页面编写为React组件,该文件夹将会和网站的其他部分共享相同的页眉,页脚和样式。
Docusaurus provides your siteConfig.js as a config props. Hence, you can access baseUrl or title through this props.
示例
@@ -253,7 +253,7 @@ MyPage.description = 'My Custom Description'; /docs/zh-CN/installation">Getting StartedVersioningLocalizationAdding SearchDocusaurus provides support for writing pages as React components inside the website/pages directory which will share the same header, footer, and styles as the rest of the site.
Docusaurus支持在website/pages文件夹内将页面编写为React组件,该文件夹将会和网站的其他部分共享相同的页眉,页脚和样式。
Docusaurus provides your siteConfig.js as a config props. Hence, you can access baseUrl or title through this props.
示例
@@ -253,7 +253,7 @@ MyPage.description = 'My Custom Description'; /docs/zh-CN/installation">Getting StartedVersioningLocalizationAdding SearchDocusaurus 提供了一组脚本来帮助您生成、服务和配置您的网站。 使用 Yarn 或 npm 时, 可以使用 run 命令调用这些脚本。 一些常见的命令如下:
yarn run star : 从本地服务器生成并且维护这个网站yarn run start : 从本地服务器生成并且维护这个网站yarn run examples : 创建示例配置文件Docusaurus 提供了一组脚本来帮助您生成、服务和配置您的网站。 使用 Yarn 或 npm 时, 可以使用 run 命令调用这些脚本。 一些常见的命令如下:
yarn run star : 从本地服务器生成并且维护这个网站yarn run start : 从本地服务器生成并且维护这个网站yarn run examples : 创建示例配置文件Docusaurus provides support for writing pages as React components inside the website/pages directory which will share the same header, footer, and styles as the rest of the site.
Docusaurus支持在website/pages文件夹内将页面编写为React组件,该文件夹将会和网站的其他部分共享相同的页眉,页脚和样式。
Docusaurus provides your siteConfig.js as a config props. Hence, you can access baseUrl or title through this props.
示例
@@ -253,7 +253,7 @@ MyPage.description = 'My Custom Description'; /docs/zh-CN/installation">Getting StartedVersioningLocalizationAdding SearchDocusaurus provides support for writing pages as React components inside the website/pages directory which will share the same header, footer, and styles as the rest of the site.
Docusaurus支持在website/pages文件夹内将页面编写为React组件,该文件夹将会和网站的其他部分共享相同的页眉,页脚和样式。
Docusaurus provides your siteConfig.js as a config props. Hence, you can access baseUrl or title through this props.
示例
@@ -253,7 +253,7 @@ MyPage.description = 'My Custom Description'; /docs/zh-CN/installation">Getting StartedVersioningLocalizationAdding SearchDocusaurus 提供了一组脚本来帮助您生成、服务和配置您的网站。 使用 Yarn 或 npm 时, 可以使用 run 命令调用这些脚本。 一些常见的命令如下:
yarn run star : 从本地服务器生成并且维护这个网站yarn run start : 从本地服务器生成并且维护这个网站yarn run examples : 创建示例配置文件Docusaurus 提供了一组脚本来帮助您生成、服务和配置您的网站。 使用 Yarn 或 npm 时, 可以使用 run 命令调用这些脚本。 一些常见的命令如下:
yarn run star : 从本地服务器生成并且维护这个网站yarn run start : 从本地服务器生成并且维护这个网站yarn run examples : 创建示例配置文件Docusaurus provides support for writing pages as React components inside the website/pages directory which will share the same header, footer, and styles as the rest of the site.
Docusaurus支持在website/pages文件夹内将页面编写为React组件,该文件夹将会和网站的其他部分共享相同的页眉,页脚和样式。
Docusaurus provides your siteConfig.js as a config props. Hence, you can access baseUrl or title through this props.
示例
@@ -253,7 +253,7 @@ MyPage.description = 'My Custom Description'; /docs/zh-CN/installation">Getting StartedVersioningLocalizationAdding SearchDocusaurus provides support for writing pages as React components inside the website/pages directory which will share the same header, footer, and styles as the rest of the site.
Docusaurus支持在website/pages文件夹内将页面编写为React组件,该文件夹将会和网站的其他部分共享相同的页眉,页脚和样式。
Docusaurus provides your siteConfig.js as a config props. Hence, you can access baseUrl or title through this props.
示例
@@ -253,7 +253,7 @@ MyPage.description = 'My Custom Description'; /docs/zh-CN/installation">Getting StartedVersioningLocalizationAdding SearchDocusaurus 提供了一组脚本来帮助您生成、服务和配置您的网站。 使用 Yarn 或 npm 时, 可以使用 run 命令调用这些脚本。 一些常见的命令如下:
yarn run star : 从本地服务器生成并且维护这个网站yarn run start : 从本地服务器生成并且维护这个网站yarn run examples : 创建示例配置文件Docusaurus 提供了一组脚本来帮助您生成、服务和配置您的网站。 使用 Yarn 或 npm 时, 可以使用 run 命令调用这些脚本。 一些常见的命令如下:
yarn run star : 从本地服务器生成并且维护这个网站yarn run start : 从本地服务器生成并且维护这个网站yarn run examples : 创建示例配置文件Docusaurus provides support for writing pages as React components inside the website/pages directory which will share the same header, footer, and styles as the rest of the site.
Docusaurus支持在website/pages文件夹内将页面编写为React组件,该文件夹将会和网站的其他部分共享相同的页眉,页脚和样式。
Docusaurus provides your siteConfig.js as a config props. Hence, you can access baseUrl or title through this props.
示例
@@ -253,7 +253,7 @@ MyPage.description = 'My Custom Description'; /docs/zh-CN/installation">Getting StartedVersioningLocalizationAdding SearchDocusaurus provides support for writing pages as React components inside the website/pages directory which will share the same header, footer, and styles as the rest of the site.
Docusaurus支持在website/pages文件夹内将页面编写为React组件,该文件夹将会和网站的其他部分共享相同的页眉,页脚和样式。
Docusaurus provides your siteConfig.js as a config props. Hence, you can access baseUrl or title through this props.
示例
@@ -253,7 +253,7 @@ MyPage.description = 'My Custom Description'; /docs/zh-CN/installation">Getting StartedVersioningLocalizationAdding SearchDocusaurus 提供了一组脚本来帮助您生成、服务和配置您的网站。 使用 Yarn 或 npm 时, 可以使用 run 命令调用这些脚本。 一些常见的命令如下:
yarn run star : 从本地服务器生成并且维护这个网站yarn run start : 从本地服务器生成并且维护这个网站yarn run examples : 创建示例配置文件Docusaurus 提供了一组脚本来帮助您生成、服务和配置您的网站。 使用 Yarn 或 npm 时, 可以使用 run 命令调用这些脚本。 一些常见的命令如下:
yarn run star : 从本地服务器生成并且维护这个网站yarn run start : 从本地服务器生成并且维护这个网站yarn run examples : 创建示例配置文件Docusaurus provides support for writing pages as React components inside the website/pages directory which will share the same header, footer, and styles as the rest of the site.
Docusaurus支持在website/pages文件夹内将页面编写为React组件,该文件夹将会和网站的其他部分共享相同的页眉,页脚和样式。
Docusaurus provides your siteConfig.js as a config props. Hence, you can access baseUrl or title through this props.
示例
@@ -253,7 +253,7 @@ MyPage.description = 'My Custom Description'; /docs/zh-CN/installation">Getting StartedVersioningLocalizationAdding SearchDocusaurus provides support for writing pages as React components inside the website/pages directory which will share the same header, footer, and styles as the rest of the site.
Docusaurus支持在website/pages文件夹内将页面编写为React组件,该文件夹将会和网站的其他部分共享相同的页眉,页脚和样式。
Docusaurus provides your siteConfig.js as a config props. Hence, you can access baseUrl or title through this props.
示例
@@ -253,7 +253,7 @@ MyPage.description = 'My Custom Description'; /docs/zh-CN/installation">Getting StartedVersioningLocalizationAdding SearchDocusaurus 提供了一组脚本来帮助您生成、服务和配置您的网站。 使用 Yarn 或 npm 时, 可以使用 run 命令调用这些脚本。 一些常见的命令如下:
yarn run star : 从本地服务器生成并且维护这个网站yarn run start : 从本地服务器生成并且维护这个网站yarn run examples : 创建示例配置文件Docusaurus 提供了一组脚本来帮助您生成、服务和配置您的网站。 使用 Yarn 或 npm 时, 可以使用 run 命令调用这些脚本。 一些常见的命令如下:
yarn run star : 从本地服务器生成并且维护这个网站yarn run start : 从本地服务器生成并且维护这个网站yarn run examples : 创建示例配置文件