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:
@@ -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])
|
||||||
|
|||||||
Reference in New Issue
Block a user