Skip to content

Commit 7d978ce

Browse files
huyikaiJustineo
andauthored
docs: Update translate src/tutorial/src/step-1/description.md (#851)
Co-authored-by: GU Yiling <justice360@gmail.com>
1 parent 6a5c6cb commit 7d978ce

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/tutorial/src/step-1/description.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@
2424
<div class="html">
2525

2626
:::tip
27-
<!-- TODO: translation -->If you're about to use HTML-mode without a build step in your own applications, make sure you either change imports to:
27+
如果你想在应用中采用 HTML 模式而不进行构建,那么请确保要么在脚本中按如下方式导入:
2828

2929
```js
3030
import { ... } from 'vue/dist/vue.esm-bundler.js'
3131
```
3232

33-
inside your scripts or configure your build tool to resolve `vue` accordingly. Sample config for [Vite](https://vitejs.dev/):
33+
要么通过配置构建工具来正确解析 `vue`。以下是 [Vite](https://vitejs.dev/) 配置的示例:
3434

3535
```js
3636
// vite.config.js
@@ -43,7 +43,7 @@ export default {
4343
}
4444
```
4545

46-
See the respective [section in Tooling guide](/guide/scaling-up/tooling.html#note-on-in-browser-template-compilation) for more information.
46+
更多相关信息,请参阅[工具链指南中的相关部分](/guide/scaling-up/tooling.html#note-on-in-browser-template-compilation)
4747
:::
4848

4949
</div>

0 commit comments

Comments
 (0)