Skip to content

Commit 061fad5

Browse files
baxterguQC-L
authored andcommitted
docs(cn): translate content/docs/faq-build.md into Chinese (#167)
* docs(cn): translate content/docs/faq-build.md * Update faq-build.md * Update faq-build.md
1 parent 5f9cd32 commit 061fad5

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

content/docs/faq-build.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,32 @@
11
---
22
id: faq-build
3-
title: Babel, JSX, and Build Steps
3+
title: BabelJSX 及构建过程
44
permalink: docs/faq-build.html
55
layout: docs
66
category: FAQ
77
---
88

9-
### Do I need to use JSX with React? {#do-i-need-to-use-jsx-with-react}
9+
### 必须在 React 中使用 JSX 吗? {#do-i-need-to-use-jsx-with-react}
1010

11-
No! Check out ["React Without JSX"](/docs/react-without-jsx.html) to learn more.
11+
不是必须的!请查阅 [“不使用 JSX](/docs/react-without-jsx.html) 以了解更多信息。
1212

13-
### Do I need to use ES6 (+) with React? {#do-i-need-to-use-es6--with-react}
13+
### 必须在 React 中使用 ES6 (+) 吗? {#do-i-need-to-use-es6--with-react}
1414

15-
No! Check out ["React Without ES6"](/docs/react-without-es6.html) to learn more.
15+
不是必须的!请查阅 [“不使用 ES6](/docs/react-without-es6.html) 以了解更多信息。
1616

17-
### How can I write comments in JSX? {#how-can-i-write-comments-in-jsx}
17+
### 怎样才能在 JSX 中编写注释? {#how-can-i-write-comments-in-jsx}
1818

1919
```jsx
2020
<div>
21-
{/* Comment goes here */}
21+
{/* 注释写在这里 */}
2222
Hello, {name}!
2323
</div>
2424
```
2525

2626
```jsx
2727
<div>
28-
{/* It also works
29-
for multi-line comments. */}
28+
{/* 多行注释
29+
也同样有效。 */}
3030
Hello, {name}!
3131
</div>
3232
```

0 commit comments

Comments
 (0)