慕莱坞森
1-将字体文件放入 ./src/css/fonts 文件夹中2-在./src/css/app.css中声明字体名称@font-face { font-family: "vazir"; font-style: normal; font-weight: 400; src: url("./fonts/Vazir-Medium.woff2") format("woff2"), url("./fonts/Vazir-Medium.ttf") format("truetype"), url("./fonts/Vazir-Medium.woff") format("woff"); font-display: swap;}3-在./src/css/quasar.variables.scss中定义字体$primary: #1976d2;$secondary: #26a69a;$accent: #9c27b0;$dark: #1d1d1d;$dark-page: #121212;$positive: #21ba45;$negative: #c10015;$info: #31ccec;$warning: #f2c037;$typography-font-family: "vazir";4-Comment robots-font inside ./quasar.config.js extras: [ // 'ionicons-v4', // 'mdi-v5', // 'fontawesome-v6', // 'eva-icons', // 'themify', // 'line-awesome', // 'roboto-font-latin-ext', // this or either 'roboto-font', NEVER both! //"vazir", // "roboto-font", // optional, you are not bound to it "material-icons", // optional, you are not bound to it ],