Skip to content

Commit 2207d5e

Browse files
Alex-Sokolovkazupon
authored andcommitted
Change few links to common style (vuejs#786)
* components.md change link * deployment.md change link * installation.md change link * render-function.md change links
1 parent f510f58 commit 2207d5e

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

src/v2/guide/components.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1050,7 +1050,7 @@ Vue.component(
10501050
)
10511051
```
10521052

1053-
When using [local registration](https://vuejs.org/v2/guide/components.html#Local-Registration), you can also directly provide a function that returns a `Promise`:
1053+
When using [local registration](components.html#Local-Registration), you can also directly provide a function that returns a `Promise`:
10541054

10551055
``` js
10561056
new Vue({

src/v2/guide/deployment.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ rollup({
6767

6868
When using in-DOM templates or in-JavaScript template strings, the template-to-render-function compilation is performed on the fly. This is usually fast enough in most cases, but is best avoided if your application is performance-sensitive.
6969

70-
The easiest way to pre-compile templates is using [Single-File Components](./single-file-components.html) - the associated build setups automatically performs pre-compilation for you, so the built code contains the already compiled render functions instead of raw template strings.
70+
The easiest way to pre-compile templates is using [Single-File Components](single-file-components.html) - the associated build setups automatically performs pre-compilation for you, so the built code contains the already compiled render functions instead of raw template strings.
7171

7272
If you are using Webpack, and prefer separating JavaScript and template files, you can use [vue-template-loader](https://github.com/ktsn/vue-template-loader), which also transforms the template files into JavaScript render functions during the build step.
7373

src/v2/guide/installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ Apply a global [envify](https://github.com/hughsk/envify) transform to your bund
202202
NODE_ENV=production browserify -g envify -e main.js | uglifyjs -c -m > build.js
203203
```
204204

205-
Also see [Production Deployment Tips](./deployment.html).
205+
Also see [Production Deployment Tips](deployment.html).
206206

207207
### CSP environments
208208

src/v2/guide/render-function.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ on: {
360360

361361
### Slots
362362

363-
You can access static slot contents as Arrays of VNodes from [`this.$slots`](http://vuejs.org/v2/api/#vm-slots):
363+
You can access static slot contents as Arrays of VNodes from [`this.$slots`](../api/#vm-slots):
364364

365365
``` js
366366
render: function (createElement) {
@@ -369,7 +369,7 @@ render: function (createElement) {
369369
}
370370
```
371371

372-
And access scoped slots as functions that return VNodes from [`this.$scopedSlots`](http://vuejs.org/v2/api/#vm-scopedSlots):
372+
And access scoped slots as functions that return VNodes from [`this.$scopedSlots`](../api/#vm-scopedSlots):
373373

374374
``` js
375375
render: function (createElement) {

0 commit comments

Comments
 (0)