Skip to content

Commit

Permalink
Merge pull request #118 from ic123-xyz/dfx-new-type
Browse files Browse the repository at this point in the history
Add dfx new --type.
  • Loading branch information
zhangwei983 authored Jan 29, 2024
2 parents b05466c + 6362334 commit 5d2e628
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docusaurus/docs/getting-started/6-use-dfx/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -754,6 +754,8 @@ dfx new <project_name> [flag]
常用的参数和选项有:
- `project_name`
用来指定所创建的工程名称。
- `--type`
用来指定所创建工程的类型,可以选择 rust 或 motoko。默认值为 motoko。
- `--no-frontend`
用来**跳过**安装前端模板代码,创建仅包括一个 .txt 文件的 [Asset 容器](https://internetcomputer.org/docs/current/references/asset-canister)。如果没有指定该选项,并检测到您的计算机上未安装 node.js,则会以 `--no-frontend` 为默认行为执行。
- `--frontend`
Expand Down

0 comments on commit 5d2e628

Please sign in to comment.