From 715e7cdb8fde202b1c586471cf4a32521e64c2bd Mon Sep 17 00:00:00 2001 From: Alex-Sokolov Date: Mon, 27 Feb 2017 19:57:55 +0300 Subject: [PATCH 1/4] components.md change link --- src/v2/guide/components.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/v2/guide/components.md b/src/v2/guide/components.md index fa2486e223..e7a487df5d 100644 --- a/src/v2/guide/components.md +++ b/src/v2/guide/components.md @@ -1050,7 +1050,7 @@ Vue.component( ) ``` -When using [local registration](https://vuejs.org/v2/guide/components.html#Local-Registration), you can also directly provide a function that returns a `Promise`: +When using [local registration](components.html#Local-Registration), you can also directly provide a function that returns a `Promise`: ``` js new Vue({ From 71d20bf86bcb467f04a7d7e5f1d6a5ca2ccb5786 Mon Sep 17 00:00:00 2001 From: Alex-Sokolov Date: Mon, 27 Feb 2017 19:58:13 +0300 Subject: [PATCH 2/4] deployment.md change link --- src/v2/guide/deployment.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/v2/guide/deployment.md b/src/v2/guide/deployment.md index bfe2bfd1b3..95ff9e8a1a 100644 --- a/src/v2/guide/deployment.md +++ b/src/v2/guide/deployment.md @@ -67,7 +67,7 @@ rollup({ 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. -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. +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. 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. From 5930ad3d7dc3a2c422a6c5c0b2bef28b1adc0829 Mon Sep 17 00:00:00 2001 From: Alex-Sokolov Date: Mon, 27 Feb 2017 19:58:27 +0300 Subject: [PATCH 3/4] installation.md change link --- src/v2/guide/installation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/v2/guide/installation.md b/src/v2/guide/installation.md index b2d243178b..5f3e14c173 100644 --- a/src/v2/guide/installation.md +++ b/src/v2/guide/installation.md @@ -202,7 +202,7 @@ Apply a global [envify](https://github.com/hughsk/envify) transform to your bund NODE_ENV=production browserify -g envify -e main.js | uglifyjs -c -m > build.js ``` -Also see [Production Deployment Tips](./deployment.html). +Also see [Production Deployment Tips](deployment.html). ### CSP environments From e13dbb27108944962dc1551a7514331c68bf0c5d Mon Sep 17 00:00:00 2001 From: Alex-Sokolov Date: Mon, 27 Feb 2017 19:58:39 +0300 Subject: [PATCH 4/4] render-function.md change links --- src/v2/guide/render-function.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/v2/guide/render-function.md b/src/v2/guide/render-function.md index 26653d1c14..011001b4d1 100644 --- a/src/v2/guide/render-function.md +++ b/src/v2/guide/render-function.md @@ -360,7 +360,7 @@ on: { ### Slots -You can access static slot contents as Arrays of VNodes from [`this.$slots`](http://vuejs.org/v2/api/#vm-slots): +You can access static slot contents as Arrays of VNodes from [`this.$slots`](../api/#vm-slots): ``` js render: function (createElement) { @@ -369,7 +369,7 @@ render: function (createElement) { } ``` -And access scoped slots as functions that return VNodes from [`this.$scopedSlots`](http://vuejs.org/v2/api/#vm-scopedSlots): +And access scoped slots as functions that return VNodes from [`this.$scopedSlots`](../api/#vm-scopedSlots): ``` js render: function (createElement) {