Commit bcee5b91 authored by Brian Helba's avatar Brian Helba Committed by Haoqun Jiang

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
parent b7d1c4e0
......@@ -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']
}
```
......
......@@ -14,7 +14,8 @@ sidebar: auto
video: ['src', 'poster'],
source: 'src',
img: 'src',
image: 'xlink:href'
image: ['xlink:href', 'href'],
use: ['xlink:href', 'href']
}
```
......
......@@ -25,7 +25,8 @@ createElement('img', {
video: ['src', 'poster'],
source: 'src',
img: 'src',
image: 'xlink:href'
image: ['xlink:href', 'href'],
use: ['xlink:href', 'href']
}
```
......
......@@ -14,7 +14,8 @@ sidebar: auto
video: ['src', 'poster'],
source: 'src',
img: 'src',
image: 'xlink:href'
image: ['xlink:href', 'href'],
use: ['xlink:href', 'href']
}
```
......
......@@ -25,7 +25,8 @@ createElement('img', {
video: ['src', 'poster'],
source: 'src',
img: 'src',
image: 'xlink:href'
image: ['xlink:href', 'href'],
use: ['xlink:href', 'href']
}
```
......
......@@ -14,7 +14,8 @@ sidebar: auto
video: ['src', 'poster'],
source: 'src',
img: 'src',
image: 'xlink:href'
image: ['xlink:href', 'href'],
use: ['xlink:href', 'href']
}
```
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment