Skip to content

Commit 05e66ef

Browse files
committed
chore: more internal clean URL fixes
1 parent a19d4a6 commit 05e66ef

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+287
-287
lines changed

src/about/faq.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ In stress-testing scenarios, Vue outperforms React and Angular by a decent margi
4848

4949
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, you are welcome to audit this very website using [WebPageTest](https://www.webpagetest.org/lighthouse) or [PageSpeed Insights](https://pagespeed.web.dev/). This website is powered by Vue itself, with SSG pre-rendering, full page hydration and SPA client-side navigation. It scores 100 in performance on an emulated Moto G4 with 4x CPU throttling over slow 4G networks.
5050

51-
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).
51+
You can learn more about how Vue automatically optimizes runtime performance in the [Rendering Mechanism](/guide/extras/rendering-mechanism) section, and how to optimize a Vue app in particularly demanding cases in the [Performance Optimization Guide](/guide/best-practices/performance).
5252

5353
## Is Vue lightweight? {#is-vue-lightweight}
5454

@@ -78,7 +78,7 @@ We appreciate your interest! Please check out our [Community Guide](/about/commu
7878

7979
## Should I use Options API or Composition API? {#should-i-use-options-api-or-composition-api}
8080

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

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

src/api/application.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Creates an application instance.
3939

4040
## createSSRApp() {#createssrapp}
4141

42-
Creates an application instance in [SSR Hydration](/guide/scaling-up/ssr.html#client-hydration) mode. Usage is exactly the same as `createApp()`.
42+
Creates an application instance in [SSR Hydration](/guide/scaling-up/ssr#client-hydration) mode. Usage is exactly the same as `createApp()`.
4343

4444
## app.mount() {#app-mount}
4545

@@ -59,7 +59,7 @@ Mounts the application instance in a container element.
5959

6060
If the component has a template or a render function defined, it will replace any existing DOM nodes inside the container. Otherwise, if the runtime compiler is available, the `innerHTML` of the container will be used as the template.
6161

62-
In SSR hydration mode, it will hydrate the existing DOM nodes inside the container. If there are [mismatches](/guide/scaling-up/ssr.html#hydration-mismatch), the existing DOM nodes will be morphed to match the expected output.
62+
In SSR hydration mode, it will hydrate the existing DOM nodes inside the container. If there are [mismatches](/guide/scaling-up/ssr#hydration-mismatch), the existing DOM nodes will be morphed to match the expected output.
6363

6464
For each app instance, `mount()` can only be called once.
6565

@@ -146,7 +146,7 @@ Provide a value that can be injected in all descendant components within the app
146146

147147
- **See also:**
148148
- [Provide / Inject](/guide/components/provide-inject)
149-
- [App-level Provide](/guide/components/provide-inject.html#app-level-provide)
149+
- [App-level Provide](/guide/components/provide-inject#app-level-provide)
150150

151151
## app.component() {#app-component}
152152

@@ -297,7 +297,7 @@ Provides the version of Vue that the application was created with. This is usefu
297297
}
298298
```
299299

300-
- **See also:** [Global API - version](/api/general.html#version)
300+
- **See also:** [Global API - version](/api/general#version)
301301

302302
## app.config {#app-config}
303303

@@ -395,7 +395,7 @@ Set this to `true` to enable component init, compile, render and patch performan
395395

396396
## app.config.compilerOptions {#app-config-compileroptions}
397397

398-
Configure runtime compiler options. Values set on this object will be passed to the in-browser template compiler and affect every component in the configured app. Note you can also override these options on a per-component basis using the [`compilerOptions` option](/api/options-rendering.html#compileroptions).
398+
Configure runtime compiler options. Values set on this object will be passed to the in-browser template compiler and affect every component in the configured app. Note you can also override these options on a per-component basis using the [`compilerOptions` option](/api/options-rendering#compileroptions).
399399

400400
::: warning Important
401401
This config option is only respected when using the full build (i.e. the standalone `vue.js` that can compile templates in the browser). If you are using the runtime-only build with a build setup, compiler options must be passed to `@vue/compiler-dom` via build tool configurations instead.
@@ -523,7 +523,7 @@ An object that can be used to register global properties that can be accessed on
523523
}
524524
```
525525

526-
- **See also:** [Guide - Augmenting Global Properties](/guide/typescript/options-api.html#augmenting-global-properties) <sup class="vt-badge ts" />
526+
- **See also:** [Guide - Augmenting Global Properties](/guide/typescript/options-api#augmenting-global-properties) <sup class="vt-badge ts" />
527527

528528
## app.config.optionMergeStrategies {#app-config-optionmergestrategies}
529529

@@ -574,4 +574,4 @@ An object for defining merging strategies for custom component options.
574574
// logs 'Hello Vue'
575575
```
576576
577-
- **See also:** [Component Instance - `$options`](/api/component-instance.html#options)
577+
- **See also:** [Component Instance - `$options`](/api/component-instance#options)

src/api/built-in-components.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ Provides transition effects for **multiple** elements or components in a list.
150150

151151
By default, `<TransitionGroup>` doesn't render a wrapper DOM element, but one can be defined via the `tag` prop.
152152

153-
Note that every child in a `<transition-group>` must be [**uniquely keyed**](/guide/essentials/list.html#maintaining-state-with-key) for the animations to work properly.
153+
Note that every child in a `<transition-group>` must be [**uniquely keyed**](/guide/essentials/list#maintaining-state-with-key) for the animations to work properly.
154154

155155
`<TransitionGroup>` supports moving transitions via CSS transform. When a child's position on screen has changed after an update, it will get applied a moving CSS class (auto generated from the `name` attribute or configured with the `move-class` prop). If the CSS `transform` property is "transition-able" when the moving class is applied, the element will be smoothly animated to its destination using the [FLIP technique](https://aerotwist.com/blog/flip-your-animations/).
156156

@@ -323,6 +323,6 @@ Used for orchestrating nested async dependencies in a component tree.
323323

324324
`<Suspense>` accepts two slots: the `#default` slot and the `#fallback` slot. It will display the content of the fallback slot while rendering the default slot in memory.
325325

326-
If it encounters async dependencies ([Async Components](/guide/components/async) and components with [`async setup()`](/guide/built-ins/suspense.html#async-setup)) while rendering the default slot, it will wait until all of them are resolved before displaying the default slot.
326+
If it encounters async dependencies ([Async Components](/guide/components/async) and components with [`async setup()`](/guide/built-ins/suspense#async-setup)) while rendering the default slot, it will wait until all of them are resolved before displaying the default slot.
327327

328328
- **See also:** [Guide - Suspense](/guide/built-ins/suspense)

src/api/built-in-directives.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Update the element's text content.
88

99
- **Details**
1010

11-
`v-text` works by setting the element's [textContent](https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent) property, so it will overwrite any existing content inside the element. If you need to update the part of `textContent`, you should use [mustache interpolations](/guide/essentials/template-syntax.html#text-interpolation) instead.
11+
`v-text` works by setting the element's [textContent](https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent) property, so it will overwrite any existing content inside the element. If you need to update the part of `textContent`, you should use [mustache interpolations](/guide/essentials/template-syntax#text-interpolation) instead.
1212

1313
- **Example**
1414

@@ -18,7 +18,7 @@ Update the element's text content.
1818
<span>{{msg}}</span>
1919
```
2020

21-
- **See also:** [Template Syntax - Text Interpolation](/guide/essentials/template-syntax.html#text-interpolation)
21+
- **See also:** [Template Syntax - Text Interpolation](/guide/essentials/template-syntax#text-interpolation)
2222

2323
## v-html {#v-html}
2424

@@ -34,15 +34,15 @@ Update the element's [innerHTML](https://developer.mozilla.org/en-US/docs/Web/AP
3434
Dynamically rendering arbitrary HTML on your website can be very dangerous because it can easily lead to [XSS attacks](https://en.wikipedia.org/wiki/Cross-site_scripting). Only use `v-html` on trusted content and **never** on user-provided content.
3535
:::
3636

37-
In [Single-File Components](/guide/scaling-up/sfc), `scoped` styles will not apply to content inside `v-html`, because that HTML is not processed by Vue's template compiler. If you want to target `v-html` content with scoped CSS, you can instead use [CSS modules](./sfc-css-features.html#css-modules) or an additional, global `<style>` element with a manual scoping strategy such as BEM.
37+
In [Single-File Components](/guide/scaling-up/sfc), `scoped` styles will not apply to content inside `v-html`, because that HTML is not processed by Vue's template compiler. If you want to target `v-html` content with scoped CSS, you can instead use [CSS modules](./sfc-css-features#css-modules) or an additional, global `<style>` element with a manual scoping strategy such as BEM.
3838

3939
- **Example:**
4040

4141
```vue-html
4242
<div v-html="html"></div>
4343
```
4444

45-
- **See also:** [Template Syntax - Raw HTML](/guide/essentials/template-syntax.html#raw-html)
45+
- **See also:** [Template Syntax - Raw HTML](/guide/essentials/template-syntax#raw-html)
4646

4747
## v-show {#v-show}
4848

@@ -54,7 +54,7 @@ Toggle the element's visibility based on the truthy-ness of the expression value
5454

5555
`v-show` works by setting the `display` CSS property via inline styles, and will try to respect the initial `display` value when the element is visible. It also triggers transitions when its condition changes.
5656

57-
- **See also:** [Conditional Rendering - v-show](/guide/essentials/conditional.html#v-show)
57+
- **See also:** [Conditional Rendering - v-show](/guide/essentials/conditional#v-show)
5858

5959
## v-if {#v-if}
6060

@@ -70,9 +70,9 @@ Conditionally render an element or a template fragment based on the truthy-ness
7070

7171
This directive triggers transitions when its condition changes.
7272

73-
When used together, `v-if` has a higher priority than `v-for`. We don't recommend using these two directives together on one element — see the [list rendering guide](/guide/essentials/list.html#v-for-with-v-if) for details.
73+
When used together, `v-if` has a higher priority than `v-for`. We don't recommend using these two directives together on one element — see the [list rendering guide](/guide/essentials/list#v-for-with-v-if) for details.
7474

75-
- **See also:** [Conditional Rendering - v-if](/guide/essentials/conditional.html#v-if)
75+
- **See also:** [Conditional Rendering - v-if](/guide/essentials/conditional#v-if)
7676

7777
## v-else {#v-else}
7878

@@ -97,7 +97,7 @@ Denote the "else block" for `v-if` or a `v-if` / `v-else-if` chain.
9797
</div>
9898
```
9999

100-
- **See also:** [Conditional Rendering - v-else](/guide/essentials/conditional.html#v-else)
100+
- **See also:** [Conditional Rendering - v-else](/guide/essentials/conditional#v-else)
101101

102102
## v-else-if {#v-else-if}
103103

@@ -128,7 +128,7 @@ Denote the "else if block" for `v-if`. Can be chained.
128128
</div>
129129
```
130130

131-
- **See also:** [Conditional Rendering - v-else-if](/guide/essentials/conditional.html#v-else-if)
131+
- **See also:** [Conditional Rendering - v-else-if](/guide/essentials/conditional#v-else-if)
132132

133133
## v-for {#v-for}
134134

@@ -251,7 +251,7 @@ Attach an event listener to the element.
251251

252252
- **See also:**
253253
- [Event Handling](/guide/essentials/event-handling)
254-
- [Components - Custom Events](/guide/essentials/component-basics.html#listening-to-events)
254+
- [Components - Custom Events](/guide/essentials/component-basics#listening-to-events)
255255

256256
## v-bind {#v-bind}
257257

@@ -273,7 +273,7 @@ Dynamically bind one or more attributes, or a component prop to an expression.
273273

274274
When used to bind the `class` or `style` attribute, `v-bind` supports additional value types such as Array or Objects. See linked guide section below for more details.
275275

276-
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).
276+
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#passing-dom-properties).
277277

278278
When used for component prop binding, the prop must be properly declared in the child component.
279279

@@ -338,7 +338,7 @@ Dynamically bind one or more attributes, or a component prop to an expression.
338338

339339
- **See also:**
340340
- [Class and Style Bindings](/guide/essentials/class-and-style)
341-
- [Components - Prop Passing Details](/guide/components/props.html#prop-passing-details)
341+
- [Components - Prop Passing Details](/guide/components/props#prop-passing-details)
342342

343343
## v-model {#v-model}
344344

@@ -355,9 +355,9 @@ Create a two-way binding on a form input element or a component.
355355

356356
- **Modifiers:**
357357

358-
- [`.lazy`](/guide/essentials/forms.html#lazy) - listen to `change` events instead of `input`
359-
- [`.number`](/guide/essentials/forms.html#number) - cast valid input string to numbers
360-
- [`.trim`](/guide/essentials/forms.html#trim) - trim input
358+
- [`.lazy`](/guide/essentials/forms#lazy) - listen to `change` events instead of `input`
359+
- [`.number`](/guide/essentials/forms#number) - cast valid input string to numbers
360+
- [`.trim`](/guide/essentials/forms#trim) - trim input
361361

362362
- **See also:**
363363

@@ -377,7 +377,7 @@ Denote named slots or scoped slots that expect to receive props.
377377
- **Limited to:**
378378

379379
- `<template>`
380-
- [components](/guide/components/slots.html#scoped-slots) (for a lone default slot with props)
380+
- [components](/guide/components/slots#scoped-slots) (for a lone default slot with props)
381381

382382
- **Example:**
383383

@@ -460,7 +460,7 @@ Render the element and component once only, and skip future updates.
460460
Since 3.2, you can also memoize part of the template with invalidation conditions using [`v-memo`](#v-memo).
461461

462462
- **See also:**
463-
- [Data Binding Syntax - interpolations](/guide/essentials/template-syntax.html#text-interpolation)
463+
- [Data Binding Syntax - interpolations](/guide/essentials/template-syntax#text-interpolation)
464464
- [v-memo](#v-memo)
465465

466466
## v-memo <sup class="vt-badge" data-text="3.2+" /> {#v-memo}

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ The `key` special attribute is primarily used as a hint for Vue's virtual DOM al
3535

3636
When `text` changes, the `<span>` will always be replaced instead of patched, so a transition will be triggered.
3737

38-
- **See also:** [Guide - List Rendering - Maintaining State with `key`](/guide/essentials/list.html#maintaining-state-with-key)
38+
- **See also:** [Guide - List Rendering - Maintaining State with `key`](/guide/essentials/list#maintaining-state-with-key)
3939

4040
## ref {#ref}
4141

@@ -82,20 +82,20 @@ Denotes a [template ref](/guide/essentials/template-refs).
8282

8383
- **See also:**
8484
- [Guide - Template Refs](/guide/essentials/template-refs)
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" />
85+
- [Guide - Typing Template Refs](/guide/typescript/composition-api#typing-template-refs) <sup class="vt-badge ts" />
86+
- [Guide - Typing Component Template Refs](/guide/typescript/composition-api#typing-component-template-refs) <sup class="vt-badge ts" />
8787

8888
## is {#is}
8989

90-
Used for binding [dynamic components](/guide/essentials/component-basics.html#dynamic-components).
90+
Used for binding [dynamic components](/guide/essentials/component-basics#dynamic-components).
9191

9292
- **Expects:** `string | Component`
9393

9494
- **Usage on native elements** <sup class="vt-badge">3.1+</sup>
9595

9696
When the `is` attribute is used on a native HTML element, it will be interpreted as a [Customized built-in element](https://html.spec.whatwg.org/multipage/custom-elements.html#custom-elements-customized-builtin-example), which is a native web platform feature.
9797

98-
There is, however, a use case where you may need Vue to replace a native element with a Vue component, as explained in [DOM Template Parsing Caveats](/guide/essentials/component-basics.html#dom-template-parsing-caveats). You can prefix the value of the `is` attribute with `vue:` so that Vue will render the element as a Vue component instead:
98+
There is, however, a use case where you may need Vue to replace a native element with a Vue component, as explained in [DOM Template Parsing Caveats](/guide/essentials/component-basics#dom-template-parsing-caveats). You can prefix the value of the `is` attribute with `vue:` so that Vue will render the element as a Vue component instead:
9999

100100
```vue-html
101101
<table>
@@ -105,5 +105,5 @@ Used for binding [dynamic components](/guide/essentials/component-basics.html#dy
105105

106106
- **See also:**
107107

108-
- [Built-in Special Element - `<component>`](/api/built-in-special-elements.html#component)
109-
- [Dynamic Components](/guide/essentials/component-basics.html#dynamic-components)
108+
- [Built-in Special Element - `<component>`](/api/built-in-special-elements#component)
109+
- [Dynamic Components](/guide/essentials/component-basics#dynamic-components)

0 commit comments

Comments
 (0)