1: First create a fonts folder inside the folder in assets placed font files you want to add a (similar FZBWKSJW.ttf format);
2: Create a font.css written in css file
@font-face {
font-family: 'my-font2';
src: url('../fonts/FZBWKSJW.ttf');
}
3: introducing the documents used in
import '@/assets/css/font.css'
After the introduction in style
font-family: my-font2;