2
0
mirror of https://github.com/tenrok/vue-meta.git synced 2026-06-23 04:40:34 +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: { metaInfo: {
link: [ link: [
{ rel: 'stylesheet', src: '/css/index.css' }, { rel: 'stylesheet', href: '/css/index.css' },
{ rel: 'favicon', src: 'favicon.ico' } { rel: 'favicon', href: 'favicon.ico' }
] ]
} }
} }
``` ```
```html ```html
<link rel="stylesheet" src="/css/index.css"> <link rel="stylesheet" href="/css/index.css">
<link rel="favicon" src="favicon.ico"> <link rel="favicon" href="favicon.ico">
``` ```
#### `style` ([Object]) #### `style` ([Object])