From bcee5b9127800070fe5797fe4be466641b88acc8 Mon Sep 17 00:00:00 2001 From: Brian Helba Date: Thu, 28 Mar 2019 12:01:51 -0400 Subject: [PATCH] docs: correct the docs for the default value of transformAssetUrls (#1521) See https://github.com/vuejs/component-compiler-utils/blob/master/lib/templateCompilerModules/assetUrl.ts#L9 --- docs/guide/asset-url.md | 3 ++- docs/options.md | 3 ++- docs/ru/guide/asset-url.md | 3 ++- docs/ru/options.md | 3 ++- docs/zh/guide/asset-url.md | 3 ++- docs/zh/options.md | 3 ++- 6 files changed, 12 insertions(+), 6 deletions(-) diff --git a/docs/guide/asset-url.md b/docs/guide/asset-url.md index 34a0ce8fb..5150625dc 100644 --- a/docs/guide/asset-url.md +++ b/docs/guide/asset-url.md @@ -25,7 +25,8 @@ By default the following tag/attribute combinations are transformed, and can be video: ['src', 'poster'], source: 'src', img: 'src', - image: 'xlink:href' + image: ['xlink:href', 'href'], + use: ['xlink:href', 'href'] } ``` diff --git a/docs/options.md b/docs/options.md index f57932b96..50e3346e0 100644 --- a/docs/options.md +++ b/docs/options.md @@ -14,7 +14,8 @@ sidebar: auto video: ['src', 'poster'], source: 'src', img: 'src', - image: 'xlink:href' + image: ['xlink:href', 'href'], + use: ['xlink:href', 'href'] } ``` diff --git a/docs/ru/guide/asset-url.md b/docs/ru/guide/asset-url.md index 4f404a256..906893052 100644 --- a/docs/ru/guide/asset-url.md +++ b/docs/ru/guide/asset-url.md @@ -25,7 +25,8 @@ createElement('img', { video: ['src', 'poster'], source: 'src', img: 'src', - image: 'xlink:href' + image: ['xlink:href', 'href'], + use: ['xlink:href', 'href'] } ``` diff --git a/docs/ru/options.md b/docs/ru/options.md index 5c5fc7e7d..8eccb2c68 100644 --- a/docs/ru/options.md +++ b/docs/ru/options.md @@ -14,7 +14,8 @@ sidebar: auto video: ['src', 'poster'], source: 'src', img: 'src', - image: 'xlink:href' + image: ['xlink:href', 'href'], + use: ['xlink:href', 'href'] } ``` diff --git a/docs/zh/guide/asset-url.md b/docs/zh/guide/asset-url.md index 0269851ca..c56250875 100644 --- a/docs/zh/guide/asset-url.md +++ b/docs/zh/guide/asset-url.md @@ -25,7 +25,8 @@ createElement('img', { video: ['src', 'poster'], source: 'src', img: 'src', - image: 'xlink:href' + image: ['xlink:href', 'href'], + use: ['xlink:href', 'href'] } ``` diff --git a/docs/zh/options.md b/docs/zh/options.md index 6f2e793b9..8c904cbbe 100644 --- a/docs/zh/options.md +++ b/docs/zh/options.md @@ -14,7 +14,8 @@ sidebar: auto video: ['src', 'poster'], source: 'src', img: 'src', - image: 'xlink:href' + image: ['xlink:href', 'href'], + use: ['xlink:href', 'href'] } ```