vue js add font to document 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: custom fonts vue
<style>
.description{
font-family: "Merienda", Helvetica, Arial;
font-size: 20px;
}
</style>