@ddd-tool/domain-designer-cli 0.0.0-alpha.6 → 0.0.0-alpha.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,28 @@
1
+ # 使用方法
2
+
3
+ ## 1. 安装依赖
4
+
5
+ [nodejs](https://nodejs.org/en/download/) >= 18
6
+ [pnpm](https://pnpm.io/) >= 9
7
+
8
+ - 确保有全局的`pnpm`指令
9
+
10
+ ## 2. 安装本软件
11
+
12
+ ```bash
13
+ pnpm i @ddd-tool/domain-designer-cli -g
14
+ ```
15
+
16
+ ## 3. 在一个空文件夹中初始化
17
+
18
+ ```bash
19
+ domain-designer-cli init
20
+ ```
21
+
22
+ ## 4. 编写 ts 文件
23
+
24
+ - 可以自行创建多个 ts 文件
25
+
26
+ ## 5. Web 端运行
27
+
28
+ - 运行`RunWeb.bat`文件(或者在该目录的命令行运行`domain-designer-cli runWeb`)