-
Notifications
You must be signed in to change notification settings - Fork 751
i18n(zh-cn):translate /develop/index.mdx #3332
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
✅ Deploy Preview for tauri-v2 ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
我看到你提了几个pr,然后又关掉了,如果是因为检查不通过,你可以直接在自己的分支上修改,commit会自动同步到pr,然后会重新检查 |
|
||
现在 [万事俱备](/start/),你已经可以使用Tauri运行应用。 | ||
|
||
如果你正在使用一个UI框架或JavaScript打包工具,你可能有权访问开发服务器, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
UI 和 JavaScript 这种英文单词前后可以添加一个空格,不跟中文直接连在一起的,后面也是一样的,URL/Tauri 这种
第一次执行这个命令时Rust包管理器可能会需要**一些时间**来下载并构建所有需要的包。 | ||
他们会被缓存,以后的构建会快得多,因为只有你的代码需要重新构建。 | ||
|
||
Rust 构建完成后,网页视图会打开,显示你的网页应用。你可以对网页应用进行更改,如果你的工具支持,网页视图应该会自动更新,就像浏览器一样。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
网页视图
是一个术语,可以保持原文 webview
|
||
#### 打开网页检查器 | ||
|
||
你可以打开网页检查器来调试你的应用,打开的方法是在网页视图上右键并点击 "Inspect" 或使用快捷键 `Ctrl + Shift + I`(Windows,Linux),`Cmd + Option + I`(macOS)。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里的括号建议使用中文符号
/> | ||
|
||
:::note | ||
如果你打算在实体 iOS 设备上运行该应用,则还必须提供 `--host` 参数,并且你的开发服务器必须使用 `process.env.TAURI_DEV_HOST` 值作为主机。有关更多信息,请参阅你框架的设置指南。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里”实体设备“改为”物理设备“会更合理吧
构建阶段在 Xcode 进程上下文中执行,因此可能无法使用 Shell 修改(例如添加 PATH)。 | ||
因此,在使用可能不兼容的工具(例如 Node.js 版本管理器)时请一定小心。 | ||
|
||
2. 在首次执行 iOS 应用时提示网络权限n |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
有一个多余字符n
|
||
### 源代码控制 | ||
|
||
在你的项目仓库中,你应该将 `src-tauri/Cargo.lock` 和 `src-tauri/Cargo.toml` 一起提交到 git,因为 Cargo 使用 lockfile 来提供确定性构建。因此, 建议所有应用程序都写入其 `Cargo.lock` 文件。你**不应该**提交 `src-tauri/target` 文件夹或其中的任何内容。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
”应该“ 需要加粗
Description