0👍
What you trying to do can be achieved by importing your google font inside of your <style>
tag, in best case, in App.vue
, your main component.
@import url('https://fonts.googleapis.com/css?family=Montserrat&display=swap');
Then you can use it like this. Please not to not scope
this attributes:
html, body {
font-family: 'Montserrat', sans-serif;
}
#app {
font-family: 'Montserrat', sans-serif;
}
- [Vuejs]-Vue why click event not working in v-if or v-show
- [Vuejs]-How do I make page navigation in Nuxt?
Source:stackexchange.com