ADD: preload assets
This commit is contained in:
parent
b63f612103
commit
14866f81f2
1 changed files with 7 additions and 1 deletions
8
app.vue
8
app.vue
|
@ -52,7 +52,13 @@ useHead({
|
|||
name: 'robots',
|
||||
content: 'index, follow'
|
||||
},
|
||||
|
||||
],
|
||||
link: [
|
||||
{ rel: 'preload', href: '/img/profile_big.webp', type: 'image/webp' },
|
||||
{ rel: 'preload', href: '/img/profile_small.webp', type: 'image/webp' },
|
||||
{ rel: 'preload', as: 'font', href: '/opensans.woff2', type: 'font/woff2' },
|
||||
{ rel: 'preload', as: 'font', href: '/roboto_con_bold.woff2', type: 'font/woff2' },
|
||||
{ rel: 'preload', as: 'font', href: '/roboto_con_reg.woff2', type: 'font/woff2' },
|
||||
]
|
||||
})
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue