如何使用nuxt js将字体嵌入所有页面

vue.js Vue.js

蛋蛋猿

2020-03-24

我只是将Google字体嵌入到nuxt.config.js中的全局设置

 link: [
      { rel: 'stylesheet', href: 'https://fonts.googleapis.com/css?family=Roboto' }
    ]

但是如何将此字体应用于每个页面。

第3228篇《如何使用nuxt js将字体嵌入所有页面》来自Winter(https://github.com/aiyld/aiyld.github.io)的站点

0个回答

问题类别

JavaScript Ckeditor Python Webpack TypeScript Vue.js React.js ExpressJS KoaJS CSS Node.js HTML Django 单元测试 PHP Asp.net jQuery Bootstrap IOS Android