Skip to content

Commit 42f3562

Browse files
Merge branch 'vuejs:main' into main
2 parents fa27c35 + 7f3b9a5 commit 42f3562

File tree

9 files changed

+30
-13
lines changed

9 files changed

+30
-13
lines changed

src/about/faq.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,11 @@ In general, Vue 3 provides smaller bundle sizes, better performance, better scal
2020

2121
If you intend to migrate an existing Vue 2 app to Vue 3, consult the [migration guide](https://v3-migration.vuejs.org/).
2222

23-
Vue 2.7, which was shipped in July 2022, is the final minor release of the Vue 2 version range. Vue 2 has now entered maintenance mode: it will no longer ship new features, but will continue to receive critical bug fixes and security updates for 18 months starting from the 2.7 release date. This means **Vue 2 will reach End of Life by the end of 2023**. We believe this should provide plenty of time for most of the ecosystem to migrate over to Vue 3. However, we also understand that there could be teams or projects that cannot upgrade by this timeline while still needing to fulfill security and compliance requirements. We are planning to provide extended support for Vue 2 for teams with such needs - if your team expects to be using Vue 2 beyond the end of 2023, make sure to plan ahead and register your interest [here](https://airtable.com/shrj37Zf4ZIfrxFzh).
23+
## Is Vue 2 Still Supported? {#is-vue-2-still-supported}
24+
25+
Vue 2.7, which was shipped in July 2022, is the final minor release of the Vue 2 version range. Vue 2 has now entered maintenance mode: it will no longer ship new features, but will continue to receive critical bug fixes and security updates for 18 months starting from the 2.7 release date. This means **Vue 2 will reach End of Life on December 31st, 2023**.
26+
27+
We believe this should provide plenty of time for most of the ecosystem to migrate over to Vue 3. However, we also understand that there could be teams or projects that cannot upgrade by this timeline while still needing to fulfill security and compliance requirements. We are partnering with industry experts to provide extended support for Vue 2 for teams with such needs - if your team expects to be using Vue 2 beyond the end of 2023, make sure to plan ahead and learn more about [Vue 2 Extended LTS](https://v2.vuejs.org/lts/).
2428

2529
## What license does Vue use? {#what-license-does-vue-use}
2630

src/api/application.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -522,6 +522,8 @@ An object that can be used to register global properties that can be accessed on
522522
}
523523
}
524524
```
525+
526+
- **See also:** [Guide - Augmenting Global Properties](/guide/typescript/options-api.html#augmenting-global-properties) <sup class="vt-badge ts" />
525527

526528
## app.config.optionMergeStrategies {#app-config-optionmergestrategies}
527529

src/api/built-in-special-attributes.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,10 @@ Denotes a [template ref](/guide/essentials/template-refs.html).
8080

8181
`this.$refs` is also non-reactive, therefore you should not attempt to use it in templates for data-binding.
8282

83-
- **See also:** [Template Refs](/guide/essentials/template-refs.html)
83+
- **See also:**
84+
- [Guide - Template Refs](/guide/essentials/template-refs.html)
85+
- [Guide - Typing Template Refs](/guide/typescript/composition-api.html#typing-template-refs) <sup class="vt-badge ts" />
86+
- [Guide - Typing Component Template Refs](/guide/typescript/composition-api.html#typing-component-template-refs) <sup class="vt-badge ts" />
8487

8588
## is {#is}
8689

src/api/composition-api-dependency-injection.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Provides a value that can be injected by descendant components.
3939

4040
- **See also**:
4141
- [Guide - Provide / Inject](/guide/components/provide-inject.html)
42-
- [Guide - Typing Provide / Inject](/guide/typescript/composition-api.html#typing-provide-inject)
42+
- [Guide - Typing Provide / Inject](/guide/typescript/composition-api.html#typing-provide-inject) <sup class="vt-badge ts" />
4343

4444
## inject() {#inject}
4545

@@ -103,4 +103,4 @@ Injects a value provided by an ancestor component or the application (via `app.p
103103

104104
- **See also**:
105105
- [Guide - Provide / Inject](/guide/components/provide-inject.html)
106-
- [Guide - Typing Provide / Inject](/guide/typescript/composition-api.html#typing-provide-inject)
106+
- [Guide - Typing Provide / Inject](/guide/typescript/composition-api.html#typing-provide-inject) <sup class="vt-badge ts" />

src/api/options-state.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,9 @@ Declare the props of a component.
125125
}
126126
```
127127

128-
- **See also:** [Props](/guide/components/props.html)
128+
- **See also:**
129+
- [Guide - Props](/guide/components/props.html)
130+
- [Guide - Typing Component Props](/guide/typescript/options-api.html#typing-component-props) <sup class="vt-badge ts" />
129131

130132
## computed {#computed}
131133

@@ -205,7 +207,9 @@ Declare computed properties to be exposed on the component instance.
205207
}
206208
```
207209

208-
- **See also:** [Computed Properties](/guide/essentials/computed.html)
210+
- **See also:**
211+
- [Guide - Computed Properties](/guide/essentials/computed.html)
212+
- [Guide - Typing Computed Properties](/guide/typescript/options-api.html#typing-computed-properties) <sup class="vt-badge ts" />
209213

210214
## methods {#methods}
211215

@@ -429,7 +433,9 @@ Declare the custom events emitted by the component.
429433
}
430434
```
431435

432-
* **See also:** [Fallthrough Attributes](/guide/components/attrs.html)
436+
- **See also:**
437+
- [Guide - Fallthrough Attributes](/guide/components/attrs.html)
438+
- [Guide - Typing Component Emits](/guide/typescript/options-api.html#typing-component-emits) <sup class="vt-badge ts" />
433439

434440
## expose {#expose}
435441

src/api/reactivity-core.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Takes an inner value and returns a reactive and mutable ref object, which has a
4141

4242
- **See also:**
4343
- [Guide - Reactive Variables with `ref()`](/guide/essentials/reactivity-fundamentals.html#reactive-variables-with-ref)
44-
- [Guide - Typing `ref()`](/guide/typescript/composition-api.html#typing-ref)
44+
- [Guide - Typing `ref()`](/guide/typescript/composition-api.html#typing-ref) <sup class="vt-badge ts" />
4545

4646
## computed() {#computed}
4747

@@ -111,7 +111,7 @@ Takes a getter function and returns a readonly reactive [ref](#ref) object for t
111111
- **See also:**
112112
- [Guide - Computed Properties](/guide/essentials/computed.html)
113113
- [Guide - Computed Debugging](/guide/extras/reactivity-in-depth.html#computed-debugging)
114-
- [Guide - Typing `computed()`](/guide/typescript/composition-api.html#typing-computed)
114+
- [Guide - Typing `computed()`](/guide/typescript/composition-api.html#typing-computed) <sup class="vt-badge ts" />
115115

116116
## reactive() {#reactive}
117117

@@ -188,7 +188,7 @@ Returns a reactive proxy of the object.
188188

189189
- **See also:**
190190
- [Guide - Reactivity Fundamentals](/guide/essentials/reactivity-fundamentals.html)
191-
- [Guide - Typing `reactive()`](/guide/typescript/composition-api.html#typing-reactive)
191+
- [Guide - Typing `reactive()`](/guide/typescript/composition-api.html#typing-reactive) <sup class="vt-badge ts" />
192192

193193
## readonly() {#readonly}
194194

src/guide/best-practices/accessibility.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ Typically this is done on the top of `App.vue` as it will be the first focusable
1515
```vue-html
1616
<ul class="skip-links">
1717
<li>
18-
<a href="#main" ref="skipLink">Skip to main content</a>
18+
<a href="#main" ref="skipLink" class="skip-link">Skip to main content</a>
1919
</li>
2020
</ul>
2121
```
2222

2323
To hide the link unless it is focused, you can add the following style:
2424

2525
```css
26-
.skipLink {
26+
.skip-link {
2727
white-space: nowrap;
2828
margin: 1em auto;
2929
top: 0;
@@ -32,7 +32,7 @@ To hide the link unless it is focused, you can add the following style:
3232
margin-left: -72px;
3333
opacity: 0;
3434
}
35-
.skipLink:focus {
35+
.skip-link:focus {
3636
opacity: 1;
3737
background-color: white;
3838
padding: 0.5em;

src/guide/essentials/template-refs.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,7 @@ import { ref } from 'vue'
227227
const a = 1
228228
const b = ref(2)
229229
230+
// Compiler macros, such as defineExpose, don't need to be imported
230231
defineExpose({
231232
a,
232233
b

src/guide/introduction.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ footer: false
66

77
:::info You are reading the documentation for Vue 3!
88

9+
- Vue 2 support will end on Dec 31, 2023. Learn more about [Vue 2 Extended LTS](https://v2.vuejs.org/lts/).
910
- Vue 2 documentation has been moved to [v2.vuejs.org](https://v2.vuejs.org/).
1011
- Upgrading from Vue 2? Check out the [Migration Guide](https://v3-migration.vuejs.org/).
1112
:::

0 commit comments

Comments
 (0)