From 9838d67ccbcb2249341cbda90bbd82bdd644c7b0 Mon Sep 17 00:00:00 2001 From: Zhou Date: Sun, 6 Nov 2022 08:43:40 +0800 Subject: [PATCH] Update plugin-ds.md --- docs/en-US/development/plugin-ds.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/en-US/development/plugin-ds.md b/docs/en-US/development/plugin-ds.md index b1dc993b5..798996069 100644 --- a/docs/en-US/development/plugin-ds.md +++ b/docs/en-US/development/plugin-ds.md @@ -1,17 +1,17 @@ -# 插件目录结构 +# Plugin directory structure -可以通过 `yarn pm create my-plugin` 快速创建一个空插件,目录结构如下: +An empty plugin can be created quickly with `yarn pm create my-plugin`, with the following directory structure. ```bash |- /my-plugin |- /src - |- /client # 插件客户端代码 - |- /server # 插件服务端代码 + |- /client # client-side of the plugin + |- /server # server-side of the plugin |- client.d.ts |- client.js - |- package.json # 插件包信息 + |- package.json # plugin package information |- server.d.ts |- server.js ``` -`/src/server` 的教程参考 [服务端](./server) 章节,`/src/client` 的教程参考 [客户端](./client) 章节。 +The tutorial for `/src/server` refers to the [server](./server) section, and the tutorial for `/src/client` refers to the [client](./client) section.