add new chinese translations

This commit is contained in:
2024-12-30 15:25:56 +08:00
parent a850046d7b
commit 0d798759fd
5418 changed files with 105800 additions and 7052 deletions

28
pages.zh/common/elm.md Normal file
View File

@@ -0,0 +1,28 @@
# elm
> 编译和运行 Elm 源文件。
> 更多信息:<https://elm-lang.org>。
- 初始化一个 Elm 项目,生成一个 elm.json 文件:
`elm init`
- 启动交互式 Elm Shell
`elm repl`
- 编译一个 Elm 文件,将结果输出到 `index.html` 文件:
`elm make {{source}}`
- 编译一个 Elm 文件,将结果输出到 JavaScript 文件:
`elm make {{source}} --output={{destination}}.js`
- 启动本地 Web 服务器,在页面加载时编译 Elm 文件:
`elm reactor`
-<https://package.elm-lang.org> 安装 Elm 包:
`elm install {{author}}/{{package}}`