From 340657f052040edf08831a9d6ac448a9e307efe6 Mon Sep 17 00:00:00 2001 From: Viktor Khotimchenko Date: Fri, 25 May 2018 11:19:17 -0400 Subject: [PATCH] docs: reverse external links from md to html The issue was introduced in 266b2368660be685cb7f614c0d225b8d7186a55f --- docs/guide/README.md | 2 +- docs/guide/advanced/lazy-loading.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/guide/README.md b/docs/guide/README.md index d3eaadd11..e19497b7e 100644 --- a/docs/guide/README.md +++ b/docs/guide/README.md @@ -3,7 +3,7 @@ ::: tip Note We will be using [ES2015](https://github.com/lukehoban/es6features) in the code samples in the guide. -Also, all examples will be using the full version of Vue to make on-the-fly template compilation possible. See more details [here](https://vuejs.org/v2/guide/installation.md#Runtime-Compiler-vs-Runtime-only). +Also, all examples will be using the full version of Vue to make on-the-fly template compilation possible. See more details [here](https://vuejs.org/v2/guide/installation.html#Runtime-Compiler-vs-Runtime-only). ::: Creating a Single-page Application with Vue + Vue Router is dead simple. With Vue.js, we are already composing our application with components. When adding Vue Router to the mix, all we need to do is map our components to the routes and let Vue Router know where to render them. Here's a basic example: diff --git a/docs/guide/advanced/lazy-loading.md b/docs/guide/advanced/lazy-loading.md index ab7455caa..7735a471b 100644 --- a/docs/guide/advanced/lazy-loading.md +++ b/docs/guide/advanced/lazy-loading.md @@ -2,7 +2,7 @@ When building apps with a bundler, the JavaScript bundle can become quite large, and thus affect the page load time. It would be more efficient if we can split each route's components into a separate chunk, and only load them when the route is visited. -Combining Vue's [async component feature](https://vuejs.org/guide/components.md#Async-Components) and webpack's [code splitting feature](https://webpack.js.org/guides/code-splitting-async/), it's trivially easy to lazy-load route components. +Combining Vue's [async component feature](https://vuejs.org/guide/components.html#Async-Components) and webpack's [code splitting feature](https://webpack.js.org/guides/code-splitting-async/), it's trivially easy to lazy-load route components. First, an async component can be defined as a factory function that returns a Promise (which should resolve to the component itself):