From 771fa51fb9d220a5bd6334a4eaa8b0c256b0dd02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A5=80=E6=A2=A6?= <3501646051@qq.com> Date: Fri, 17 Oct 2025 23:32:49 +0800 Subject: [PATCH] =?UTF-8?q?docs(solidity):=20=E4=BF=AE=E6=AD=A3hardhat?= =?UTF-8?q?=E5=88=9D=E5=A7=8B=E5=8C=96=E5=91=BD=E4=BB=A4=E7=9A=84=E6=8B=BC?= =?UTF-8?q?=E5=86=99=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将`--init`改为正确的`init`命令 --- docs/notes/programming/solidity/other/hardhat.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/notes/programming/solidity/other/hardhat.md b/docs/notes/programming/solidity/other/hardhat.md index 05b5c8a..b602ccf 100644 --- a/docs/notes/programming/solidity/other/hardhat.md +++ b/docs/notes/programming/solidity/other/hardhat.md @@ -33,7 +33,7 @@ npm install --save-dev hardhat@^2.23.0 ``` 初始化 Hardhat2 项目 ```bash -npx hardhat --init +npx hardhat init ``` 选择 ```bash