Skip to content

Commit 19be6a0

Browse files
committed
Add: translate vue3 document to en.
1 parent 7ece7e6 commit 19be6a0

File tree

3 files changed

+44
-1
lines changed

3 files changed

+44
-1
lines changed

en/Tutorial/Language/vue-next.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# Vue3 Support
2+
> HBuilderX's support for vue3 is still compatible with vue2, this means our enhancement of vue2 can still be used in vue3. See [Vue support](/Tutorial/Language/vue.md) for vue2 support.
3+
4+
## Vue3.x API Hint and Help
5+
6+
The prompt is not only to be complete, but also to be accurate. You can't guess all the words and list them out, there will be what there should be, clear and trustworthy.
7+
8+
Write fast and write well.
9+
10+
In addition to the perfect tips, you can also see a clear help description on the right side of the code assistant, explaining the api, and the api link of the vue official website. Click to go directly to the specified page of the vue official website.
11+
12+
Very suitable for getting start.
13+
14+
<img src="/static/snapshots/vue_next/1.jpg" style="zoom: 30%;border: 1px solid #eee;" />
15+
## Composition API Support
16+
Accurate type derivation of composition functions such as `ref` and `reactive`, and support `go to definition` (Alt + click).
17+
18+
<img src="/static/snapshots/vue_next/2.jpg" style="zoom: 30%;border: 1px solid #eee;" />
19+
20+
<img src="/static/snapshots/vue_next/3.jpg" style="zoom: 30%;border: 1px solid #eee;" />
21+
22+
## State-Driven Dynamic CSS Support
23+
Support the use of v-bind function hint in CSS, variable hint in parameters and `go to definition` (Alt + click).
24+
25+
<img src="/static/snapshots/vue_next/4.jpg" style="zoom: 30%;border: 1px solid #eee;" />
26+
27+
<img src="/static/snapshots/vue_next/5.jpg" style="zoom: 30%;border: 1px solid #eee;" />
28+
29+
## Script Setup Support
30+
The setup syntax recommended by vue3 is also fully supported.
31+
32+
<img src="/static/snapshots/vue_next/6.jpg" style="zoom: 30%;border: 1px solid #eee;" />
33+
34+
## Vars & Functions Hint in Template
35+
Variables defined in data, props and setup and functions defined in methods and setup can suggest and `go to definition`(alt + click) in template.
36+
37+
<img src="/static/snapshots/vue_next/7.jpg" style="zoom: 30%;border: 1px solid #eee;" />
38+
39+
<img src="/static/snapshots/vue_next/8.jpg" style="zoom: 30%;border: 1px solid #eee;" />

en/Tutorial/Language/vue.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ We recommend that developers use the vue single file specification to open vue f
88

99
> Notes: If the file is not under the project, but a separate file, and the grammar library cannot be mounted, please create a project in the project manager on the left and open the file in the project to experience it.
1010
11+
## Vue3 Support
12+
HBuilderX has optimized support for vue3 since v3.2.5 (included). See [vue3 support](/Tutorial/Language/vue-next.md) for details.
13+
1114
## Syntax highlighting
1215

1316
In addition to vue's common syntax highlighting support, HBuilderX also supports various expression syntax, as well as other languages supported by script and style such as less, scss, stylus, typescript and other highlighting, without the need to install plug-ins.
@@ -23,7 +26,7 @@ Write fast and write well.
2326

2427
In addition to the perfect tips, you can also see a clear help description on the right side of the code assistant, explaining the api, and the api link of the vue official website. Click to go directly to the specified page of the vue official website.
2528

26-
Very suitable for learning reference.
29+
Very suitable for getting start.
2730

2831
<img src="/static/snapshots/vue/1.png" style="zoom: 80%;border: 1px solid #eee;" />
2932

en/_sidebar.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
* [CodeAssistant](/Tutorial/Language/CodeAssistant.md)
1515
* [Emmet](/Tutorial/Language/emmet)
1616
* [Vue](/Tutorial/Language/vue.md)
17+
* [Vue3](/Tutorial/Language/vue-next.md)
1718
* [Vue Doc](/Tutorial/Language/vuedoc.md)
1819
* Version Control
1920
* [Git Introduce](/Tutorial/SourceControl/Git/README.md)

0 commit comments

Comments
 (0)