Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix some broken links to v2 docs #12839

Merged
merged 1 commit into from
Oct 19, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/classic/elastic-header/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<draggable-header-view>
<template slot="header">
<h1>Elastic Draggable SVG Header</h1>
<p>with <a href="https://vuejs.org">Vue.js</a> + <a href="http://dynamicsjs.com">dynamics.js</a></p>
<p>with <a href="https://v2.vuejs.org">Vue.js</a> + <a href="http://dynamicsjs.com">dynamics.js</a></p>
</template>
<template slot="content">
<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>
Expand Down
4 changes: 2 additions & 2 deletions examples/classic/todomvc/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ var app = new Vue({
},

// computed properties
// https://vuejs.org/guide/computed.html
// https://v2.vuejs.org/v2/guide/computed.html
computed: {
filteredTodos: function () {
return filters[this.visibility](this.todos)
Expand Down Expand Up @@ -129,7 +129,7 @@ var app = new Vue({

// a custom directive to wait for the DOM to be updated
// before focusing on the input field.
// https://vuejs.org/guide/custom-directive.html
// https://v2.vuejs.org/v2/guide/custom-directive.html
directives: {
'todo-focus': function (el, binding) {
if (binding.value) {
Expand Down
10 changes: 5 additions & 5 deletions examples/classic/todomvc/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
> Vue.js is a library for building interactive web interfaces.
It provides data-driven, nestable view components with a simple and flexible API.

> _[Vue.js - vuejs.org](https://vuejs.org)_
> _[Vue.js - v2.vuejs.org](https://v2.vuejs.org)_

## Learning Vue.js
The [Vue.js website](https://vuejs.org/) is a great resource to get started.
The [Vue.js website](https://v2.vuejs.org/) is a great resource to get started.

Here are some links you may find helpful:

* [Official Guide](https://vuejs.org/guide/)
* [API Reference](https://vuejs.org/api/)
* [Examples](https://vuejs.org/examples/)
* [Official Guide](https://v2.vuejs.org/guide/)
* [API Reference](https://v2.vuejs.org/api/)
* [Examples](https://v2.vuejs.org/examples/)

Get help from other Vue.js users:

Expand Down
2 changes: 1 addition & 1 deletion src/compiler/codegen/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ export function genFor(
state.warn(
`<${el.tag} v-for="${alias} in ${exp}">: component lists rendered with ` +
`v-for should have explicit keys. ` +
`See https://vuejs.org/guide/list.html#key for more info.`,
`See https://v2.vuejs.org/v2/guide/list.html#key for more info.`,
el.rawAttrsMap['v-for'],
true /* tip */
)
Expand Down