Skip to content

Commit 7ba794e

Browse files
authored
Merge branch 'main' into feat/french-translation-is-complete
2 parents 0a9d133 + de6053c commit 7ba794e

File tree

3 files changed

+16
-3
lines changed

3 files changed

+16
-3
lines changed

.vitepress/config.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -620,6 +620,11 @@ export default defineConfigWithTheme<ThemeConfig>({
620620
text: '日本語',
621621
repo: 'https://github.com/vuejs-translations/docs-ja'
622622
},
623+
{
624+
link: 'https://ua.vuejs.org',
625+
text: 'Українська',
626+
repo: 'https://github.com/vuejs-translations/docs-uk'
627+
},
623628
{
624629
link: 'https://fr.vuejs.org',
625630
text: 'Français',

src/guide/typescript/composition-api.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -400,3 +400,12 @@ const openModal = () => {
400400
```
401401

402402
Note if you want to use this technique in TypeScript files instead of Vue SFCs, you need to enable Volar's [Takeover Mode](./overview#volar-takeover-mode).
403+
404+
In cases where the exact type of the component isn't available or isn't important, `ComponentPublicInstance` can be used instead. This will only include properties that are shared by all components, such as `$el`:
405+
406+
```ts
407+
import { ref } from 'vue'
408+
import type { ComponentPublicInstance } from 'vue'
409+
410+
const child = ref<ComponentPublicInstance | null>(null)
411+
```

src/translations/index.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,10 @@ aside: false
99
- [English](https://vuejs.org/) [[source](https://github.com/vuejs/docs)]
1010
- [简体中文 / Simplified Chinese](https://cn.vuejs.org/) [[source](https://github.com/vuejs-translations/docs-zh-cn)]
1111
- [日本語 / Japanese](https://ja.vuejs.org/) [[source](https://github.com/vuejs-translations/docs-ja)]
12+
- [Українська / Ukrainian](https://ua.vuejs.org/) [[source](https://github.com/vuejs-translations/docs-uk)]
1213
- [Français / French](https://fr.vuejs.org) [[source](https://github.com/vuejs-translations/docs-fr)]
1314

14-
## Work in Progress Languages {#work-in-progress-languages}
15-
16-
- [Українська / Ukrainian](https://ua.vuejs.org) [[source](https://github.com/vuejs-translations/docs-ua)]
15+
<!-- ## Work in Progress Languages {#work-in-progress-languages} -->
1716

1817
## Starting a new Translation {#starting-a-new-translation}
1918

0 commit comments

Comments
 (0)