how to use google fonts vue3 code example
Example 1: custom fonts vue
<style>
@font-face {
font-family: "Merienda";
src: local("Merienda"), url(./fonts/Merienda/Merienda-Regular.ttf) format("truetype");}
</style>
Example 2: add a Google Font to a VueJS
<style>
@import url('https://fonts.googleapis.com/css2?family=Merienda&display=swap');
</style>