Skip to content

Commit 6d9aac8

Browse files
authored
chore: fix some broken links to v2 docs (#12839)
1 parent a7a71ad commit 6d9aac8

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

Diff for: examples/classic/elastic-header/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
<draggable-header-view>
3333
<template slot="header">
3434
<h1>Elastic Draggable SVG Header</h1>
35-
<p>with <a href="https://vuejs.org">Vue.js</a> + <a href="http://dynamicsjs.com">dynamics.js</a></p>
35+
<p>with <a href="https://v2.vuejs.org">Vue.js</a> + <a href="http://dynamicsjs.com">dynamics.js</a></p>
3636
</template>
3737
<template slot="content">
3838
<p>Note this is just an effect demo - there are of course many additional details if you want to use this in production, e.g. handling responsive sizes, reload threshold and content scrolling. Those are out of scope for this quick little hack. However, the idea is that you can hide them as internal details of a Vue.js component and expose a simple Web-Component-like interface.</p>

Diff for: examples/classic/todomvc/app.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ var app = new Vue({
5555
},
5656

5757
// computed properties
58-
// https://vuejs.org/guide/computed.html
58+
// https://v2.vuejs.org/v2/guide/computed.html
5959
computed: {
6060
filteredTodos: function () {
6161
return filters[this.visibility](this.todos)
@@ -129,7 +129,7 @@ var app = new Vue({
129129

130130
// a custom directive to wait for the DOM to be updated
131131
// before focusing on the input field.
132-
// https://vuejs.org/guide/custom-directive.html
132+
// https://v2.vuejs.org/v2/guide/custom-directive.html
133133
directives: {
134134
'todo-focus': function (el, binding) {
135135
if (binding.value) {

Diff for: examples/classic/todomvc/readme.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@
33
> Vue.js is a library for building interactive web interfaces.
44
It provides data-driven, nestable view components with a simple and flexible API.
55

6-
> _[Vue.js - vuejs.org](https://vuejs.org)_
6+
> _[Vue.js - v2.vuejs.org](https://v2.vuejs.org)_
77
88
## Learning Vue.js
9-
The [Vue.js website](https://vuejs.org/) is a great resource to get started.
9+
The [Vue.js website](https://v2.vuejs.org/) is a great resource to get started.
1010

1111
Here are some links you may find helpful:
1212

13-
* [Official Guide](https://vuejs.org/guide/)
14-
* [API Reference](https://vuejs.org/api/)
15-
* [Examples](https://vuejs.org/examples/)
13+
* [Official Guide](https://v2.vuejs.org/guide/)
14+
* [API Reference](https://v2.vuejs.org/api/)
15+
* [Examples](https://v2.vuejs.org/examples/)
1616

1717
Get help from other Vue.js users:
1818

Diff for: src/compiler/codegen/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ export function genFor(
259259
state.warn(
260260
`<${el.tag} v-for="${alias} in ${exp}">: component lists rendered with ` +
261261
`v-for should have explicit keys. ` +
262-
`See https://vuejs.org/guide/list.html#key for more info.`,
262+
`See https://v2.vuejs.org/v2/guide/list.html#key for more info.`,
263263
el.rawAttrsMap['v-for'],
264264
true /* tip */
265265
)

0 commit comments

Comments
 (0)