LoginSignup
1
1

More than 3 years have passed since last update.

Vuetifyで手っ取り早くフォントを変更する

Last updated at Posted at 2019-06-19

環境

$ vue -V
3.8.4

やり方

App.vueに下記のようなcss(scss)を追加する

<style lang="scss">
* :not(.v-icon) {
  font-family: "Hiragino Kaku Gothic Pro","メイリオ", sans-serif!important;
}
</style>

記述例

App.vue
<template lang="pug">
  v-app
    router-view
</template>

<script lang='ts'>
import { Component, Vue } from 'vue-property-decorator';
@Component
export default class App extends Vue {}
</script>

<style lang="scss">
* :not(.v-icon) {
  font-family: "Hiragino Kaku Gothic Pro","メイリオ", sans-serif!important;
}
</style>

補足

かなり強引なやり方だと思うので、あくまでも 手っ取り早く 変更する方法です。
他に良い方法があればそっちを行うのが良いと思います。
(そして僕にも教えていただけると嬉しいです。)

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1