use prefetch

This commit is contained in:
Damillora 2020-11-11 02:30:51 +07:00
parent 63fbad81b6
commit 2c268a38dd
2 changed files with 3 additions and 5 deletions

View File

@ -24,11 +24,6 @@ export default {
</script> </script>
<style> <style>
@import url('https://fonts.googleapis.com/css?family=Exo+2:300,400,500&display=swap');
/* material-icons */
@import url('https://fonts.googleapis.com/icon?family=Material+Icons');
@import 'tailwindcss/base'; @import 'tailwindcss/base';
@import 'tailwindcss/components'; @import 'tailwindcss/components';

View File

@ -18,8 +18,11 @@ module.exports = {
], ],
link: [ link: [
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }, { rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' },
{ rel: 'prefetch', href: 'https://fonts.googleapis.com/css?family=Exo+2:300,400,500&display=swap' },
{ rel: 'stylesheet', href: 'https://fonts.googleapis.com/css?family=Exo+2:300,400,500&display=swap' }, { rel: 'stylesheet', href: 'https://fonts.googleapis.com/css?family=Exo+2:300,400,500&display=swap' },
{ rel: 'prefetch', href: 'https://fonts.googleapis.com/css?family=M+PLUS+1p:300,400,500&display=swap' },
{ rel: 'stylesheet', href: 'https://fonts.googleapis.com/css?family=M+PLUS+1p:300,400,500&display=swap' }, { rel: 'stylesheet', href: 'https://fonts.googleapis.com/css?family=M+PLUS+1p:300,400,500&display=swap' },
{ rel: 'prefetch', href: 'https://fonts.googleapis.com/icon?family=Material+Icons' },
{ rel: 'stylesheet', href: 'https://fonts.googleapis.com/icon?family=Material+Icons' }, { rel: 'stylesheet', href: 'https://fonts.googleapis.com/icon?family=Material+Icons' },
], ],
}, },