2
0
mirror of https://github.com/tenrok/vue-meta.git synced 2026-06-07 07:02:25 +03:00

replace src by href in link

This commit is contained in:
Alexandre Chopin
2017-03-28 09:16:51 +02:00
committed by GitHub
parent 7e08683973
commit ba2ae97a43
+4 -4
View File
@@ -439,16 +439,16 @@ Each item in the array maps to a newly-created `<link>` element, where object pr
{
metaInfo: {
link: [
{ rel: 'stylesheet', src: '/css/index.css' },
{ rel: 'favicon', src: 'favicon.ico' }
{ rel: 'stylesheet', href: '/css/index.css' },
{ rel: 'favicon', href: 'favicon.ico' }
]
}
}
```
```html
<link rel="stylesheet" src="/css/index.css">
<link rel="favicon" src="favicon.ico">
<link rel="stylesheet" href="/css/index.css">
<link rel="favicon" href="favicon.ico">
```
#### `style` ([Object])