Skip to content

Commit 4dac33d

Browse files
committed
fix dead links
1 parent 631d1d4 commit 4dac33d

19 files changed

+273
-32
lines changed

src/.vitepress/config.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -259,12 +259,12 @@ export const sidebar = {
259259
}
260260
// {
261261
// text: 'Building a Library for Vue',
262-
// link: '/guide/advanced/building-a-library'
262+
// link: '/guide/extras/building-a-library'
263263
// },
264-
// { text: 'Custom Renderers', link: '/guide/advanced/custom-renderer' },
264+
// { text: 'Custom Renderers', link: '/guide/extras/custom-renderer' },
265265
// {
266266
// text: 'Vue for React Devs',
267-
// link: '/guide/advanced/vue-for-react-devs'
267+
// link: '/guide/extras/vue-for-react-devs'
268268
// }
269269
]
270270
}

src/about/faq.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ In stress-testing scenarios, Vue out-performs React and Angular by a decent marg
2828

2929
Do note that synthetic benchmarks like the above focus on raw rendering performance with dedicated optimizations and may not be fully representative of real-world performance results. If you care more about page load performance, here is the [Lighthouse audit](https://www.webpagetest.org/result/210818_BiDcYB_4a83d7a1f2a7f6fdc76db16a00b4882d/) generated via [WebPageTest](https://www.webpagetest.org/lighthouse) for a real-world, Vue-powered site with SSG pre-rendering, full page hydration and SPA client-side navigations. It scores 98 in performance on an emulated Moto G4 with 4x CPU throttling over 3G networks.
3030

31-
You can learn more about how Vue automatically optimizes runtime performance in the [Rendering Mechanism](/guide/advanced/rendering-mechanism.html) section, and how to optimize a Vue app in particularly demanding cases in the [Performance Optimization Guide](/guide/best-practices/performance.html).
31+
You can learn more about how Vue automatically optimizes runtime performance in the [Rendering Mechanism](/guide/extras/rendering-mechanism.html) section, and how to optimize a Vue app in particularly demanding cases in the [Performance Optimization Guide](/guide/best-practices/performance.html).
3232

3333
## Is Vue lightweight?
3434

@@ -64,7 +64,7 @@ Please refer to the [dedicated Vue 2 vs. Vue 3 FAQ](./v2-faq).
6464

6565
If you are new to Vue, we provide a high-level comparison between the two styles [here](/guide/introduction.html#which-to-choose).
6666

67-
If you have previously used Options API and are currently evaluating Composition API, check out [this FAQ](/guide/advanced/composition-api-faq).
67+
If you have previously used Options API and are currently evaluating Composition API, check out [this FAQ](/guide/extras/composition-api-faq).
6868

6969
## Should I use JavaScript or TypeScript with Vue?
7070

@@ -80,7 +80,7 @@ Vue was created before Web Components were natively available, and some aspects
8080

8181
The Web Components specs are relatively low-level, as they are centered around defining custom elements. As a framework, Vue addresses additional higher-level concerns such as efficient DOM rendering, reactive state management, tooling, client-side routing, and server-side rendering.
8282

83-
Vue also fully supports consuming or exporting to native custom elements - check out the [Vue and Web Components Guide](/guide/advanced/web-components) for more details.
83+
Vue also fully supports consuming or exporting to native custom elements - check out the [Vue and Web Components Guide](/guide/extras/web-components) for more details.
8484

8585
<!-- ## TODO How does Vue compare to React? -->
8686

src/api/built-in-directives.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@
301301
<svg><a :xlink:special="foo"></a></svg>
302302
```
303303

304-
When setting a binding on an element, Vue by default checks whether the element has the key defined as a property using an `in` operator check. If the property is defined, Vue will set the value as a DOM property instead of an attribute. This should work in most cases, but you can override this behavior by explicitly using `.prop` or `.attr` modifiers. This is sometimes necessary, especially when [working with custom elements](/guide/advanced/web-components.html#passing-dom-properties).
304+
When setting a binding on an element, Vue by default checks whether the element has the key defined as a property using an `in` operator check. If the property is defined, Vue will set the value as a DOM property instead of an attribute. This should work in most cases, but you can override this behavior by explicitly using `.prop` or `.attr` modifiers. This is sometimes necessary, especially when [working with custom elements](/guide/extras/web-components.html#passing-dom-properties).
305305

306306
The `.prop` modifier also has a dedicated shorthand, `.`:
307307

src/api/component-instance.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181

8282
Used to programmatically access content [distributed by slots](/guide/essentials/component-basics.html#content-distribution-with-slots). Each [named slot](/guide/components/slots.html#named-slots) has its own corresponding property (e.g. the contents of `v-slot:foo` will be found at `this.$slots.foo()`). The `default` property contains either nodes not included in a named slot or contents of `v-slot:default`.
8383

84-
Accessing `this.$slots` is most useful when writing a component with a [render function](/guide/advanced/render-function.html).
84+
Accessing `this.$slots` is most useful when writing a component with a [render function](/guide/extras/render-function.html).
8585

8686
- **Example:**
8787

@@ -121,7 +121,7 @@
121121
- **See also:**
122122
- [`<slot>` Component](built-in-components.html#slot)
123123
- [Content Distribution with Slots](/guide/essentials/component-basics.html#content-distribution-with-slots)
124-
- [Render Functions - Slots](/guide/advanced/render-function.html#slots)
124+
- [Render Functions - Slots](/guide/extras/render-function.html#slots)
125125

126126
## $refs
127127

src/api/options-rendering.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,4 @@
6363
The `render` function has priority over the render function compiled from `template` option or in-DOM HTML template of the mounting element
6464
:::
6565

66-
- **See also:** [Render Functions](/guide/advanced/render-function.html)
66+
- **See also:** [Render Functions](/guide/extras/render-function.html)

src/api/options-state.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
data: vm => ({ a: vm.myProp })
3737
```
3838

39-
- **See also:** [Reactivity in Depth](/guide/advanced/reactivity-in-depth.html)
39+
- **See also:** [Reactivity in Depth](/guide/extras/reactivity-in-depth.html)
4040

4141
## props
4242

src/guide/best-practices/security.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,4 +184,4 @@ HTTP security vulnerabilities, such as cross-site request forgery (CSRF/XSRF) an
184184

185185
## Server-Side Rendering (SSR)
186186

187-
There are some additional security concerns when using SSR, so make sure to follow the best practices outlined throughout [our SSR documentation](/guide/advanced/server-side-rendering.html) to avoid vulnerabilities.
187+
There are some additional security concerns when using SSR, so make sure to follow the best practices outlined throughout [our SSR documentation](/guide/extras/server-side-rendering.html) to avoid vulnerabilities.

0 commit comments

Comments
 (0)